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/qbenchmarkmeasurement_p.h

    r651 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])
     
    5454//
    5555
    56 #include <QtCore/qdatetime.h>
     56#include <QtCore/q.h>
    5757#include "3rdparty/cycle_p.h"
     58
    5859
    5960QT_BEGIN_NAMESPACE
     
    7273    virtual bool repeatCount() { return 1; }
    7374    virtual bool needsWarmupIteration() { return false; }
    74     virtual QString unitText() = 0;
    75     virtual QString metricText() = 0;
     75    virtual QTest::QBenchmarkMetric metricType() = 0;
    7676};
    7777
     
    8585    int adjustIterationCount(int sugestion);
    8686    int adjustMedianCount(int suggestion);
    87     QString unitText();
    88     QString metricText();
     87    ();
     88    Q();
    8989private:
    90     QTime time;
     90    Q time;
    9191};
    9292
     
    103103    int adjustMedianCount(int suggestion);
    104104    bool needsWarmupIteration();
    105     QString unitText();
    106     QString metricText();
     105    QTest::QBenchmarkMetric metricType();
    107106private:
    108107    CycleCounterTicks startTicks;
Note: See TracChangeset for help on using the changeset viewer.