![]() |
Qt 6.x
The Qt SDK
|
#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 114 of file qbenchmarkvalgrind.cpp.
References QString::arg(), base, QBenchmarkGlobalData::callgrindOutFileBase, QBenchmarkGlobalData::current, QDir::entryInfoList(), QDir::Files, QString::fromLatin1(), QString::isEmpty(), Q_ASSERT, Q_UNUSED, QDir::Readable, and QFile::remove().
Referenced by QTest::qRun().
|
static |
Definition at line 109 of file qbenchmarkvalgrind.cpp.
References extractResult(), and getNewestFileName().
Referenced by QBenchmarkCallgrindMeasurer::stop().
Definition at line 52 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 80 of file qbenchmarkvalgrind.cpp.
References QString::arg(), base, QBenchmarkGlobalData::callgrindOutFileBase, QBenchmarkGlobalData::current, QList< T >::empty(), QDir::entryInfoList(), QFileInfo::fileName(), QDir::Files, QString::fromLatin1(), QString::isEmpty(), 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 130 of file qbenchmarkvalgrind.cpp.
References QCoreApplication::applicationPid(), QString::arg(), 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 139 of file qbenchmarkvalgrind.cpp.
References arg, args, QBenchmarkGlobalData::callgrindOutFileBase, QBenchmarkGlobalData::current, dumpOutput(), i, and outFileBase().
Referenced by rerunThroughCallgrind().