42 #ifndef QBENCHMARKVALGRIND_P_H 43 #define QBENCHMARKVALGRIND_P_H 56 #include "QtTest/private/qbenchmarkmeasurement_p.h" 57 #include "QtTest/private/qbenchmarkmetric_p.h" 58 #include <QtCore/qmap.h> 59 #include <QtCore/qstring.h> 84 bool isMeasurementAccepted(
qint64 measurement);
85 int adjustIterationCount(
int);
86 int adjustMedianCount(
int);
87 bool needsWarmupIteration();
93 #endif // QBENCHMARKVALGRIND_H static QString getNewestFileName()
static bool rerunThroughCallgrind(const QStringList &origAppArgs, int &exitCode)
static qint64 extractLastResult()
static QString outFileBase(qint64 pid=-1)
#define QT_END_NAMESPACE
This macro expands to.
QBenchmarkMetric
This enum lists all the things that can be benchmarked.
static bool runCallgrindSubProcess(const QStringList &origAppArgs, int &exitCode)
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QStringList class provides a list of strings.
static bool haveValgrind()
static qint64 extractResult(const QString &fileName)
static QString fileName(const QString &fileUrl)