Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qbenchmarkvalgrind_p.h>
Static Public Member Functions | |
static bool | haveValgrind () |
static bool | rerunThroughCallgrind (const QStringList &origAppArgs, int &exitCode) |
static bool | runCallgrindSubProcess (const QStringList &origAppArgs, int &exitCode) |
static qint64 | extractResult (const QString &fileName) |
static QString | getNewestFileName () |
static qint64 | extractLastResult () |
static void | cleanup () |
static QString | outFileBase (qint64 pid=-1) |
Definition at line 27 of file qbenchmarkvalgrind_p.h.
|
static |
Definition at line 117 of file qbenchmarkvalgrind.cpp.
References base, QBenchmarkGlobalData::current, QDir::entryInfoList(), QDir::Files, QString::fromLatin1(), Q_ASSERT, Q_UNUSED, QDir::Readable, and QFile::remove().
Referenced by QTest::qRun().
|
static |
Definition at line 112 of file qbenchmarkvalgrind.cpp.
References extractResult(), and getNewestFileName().
Referenced by QBenchmarkCallgrindMeasurer::stop().
Definition at line 55 of file qbenchmarkvalgrind.cpp.
References QFileDevice::atEnd(), QString::data(), file, fileName, line, QFile::open(), Q_ASSERT, Q_UNLIKELY, Q_UNUSED, qFatal, QIODevice::readLine(), QIODeviceBase::ReadOnly, QString::size(), QString::startsWith(), tag, and QIODeviceBase::Text.
Referenced by extractLastResult().
|
static |
Definition at line 83 of file qbenchmarkvalgrind.cpp.
References base, QBenchmarkGlobalData::current, QDir::entryInfoList(), QDir::Files, QString::fromLatin1(), match(), ok, Q_ASSERT, QDir::Readable, and rx().
Referenced by extractLastResult().
|
static |
Definition at line 23 of file qbenchmarkvalgrind.cpp.
Referenced by QTest::qtest_qParseArgs().
Definition at line 133 of file qbenchmarkvalgrind.cpp.
References QCoreApplication::applicationPid(), and QString::fromLatin1().
Referenced by QTest::qtest_qParseArgs(), and runCallgrindSubProcess().
|
static |
Definition at line 36 of file qbenchmarkvalgrind.cpp.
References qWarning, and runCallgrindSubProcess().
Referenced by QTest::qRun().
|
static |
Definition at line 142 of file qbenchmarkvalgrind.cpp.
References arg, args, QString::at(), QBenchmarkGlobalData::current, dumpOutput(), i, and outFileBase().
Referenced by rerunThroughCallgrind().