Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/testlib/qtestlogger.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    265265//    printf("element %i", benchmarkElement->elementType());
    266266
    267     benchmarkElement->addAttribute(QTest::AI_Metric, QBenchmarkGlobalData::current->measurer->metricText().toAscii().data());
     267    benchmarkElement->addAttribute(
     268        QTest::AI_Metric,
     269        QTest::benchmarkMetricName(QBenchmarkTestMethodData::current->result.metric));
    268270    benchmarkElement->addAttribute(QTest::AI_Tag, result.context.tag.toAscii().data());
    269271    benchmarkElement->addAttribute(QTest::AI_Value, QByteArray::number(result.value).constData());
Note: See TracChangeset for help on using the changeset viewer.