6#include <QtQml/private/qqmlabstractprofileradapter_p.h>
8#include <QtCore/qcoreapplication.h>
9#include <QtCore/qthread.h>
15quint64 QQuickProfiler::featuresEnabled = 0;
25 Q_QUICK_PROFILE(QQuickProfiler::ProfileAnimations, animationFrame(delta,
27 QQuickProfiler::GuiThread : QQuickProfiler::RenderThread));
59QQuickProfiler::~QQuickProfiler()
66void QQuickProfiler::startProfilingImpl(
quint64 features)
69 featuresEnabled = features;
72void QQuickProfiler::stopProfilingImpl()
80void QQuickProfiler::reportDataImpl()
95#include "qquickprofiler.moc"
96#include "moc_qquickprofiler_p.cpp"
void registerAnimationTimerCallback()
static QCoreApplication * instance() noexcept
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance.
void moveToThread(QThread *thread)
Changes the thread affinity for this object and its children.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
QThread * thread() const
Returns the thread in which the object lives.
void destroyed(QObject *=nullptr)
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointe...
static QThread * currentThread()
void registerProfilerCallback(void(*cb)(qint64))
static QUnifiedTimer * instance()
Combined button and popup list for selecting options.
void animationTimerCallback(qint64 delta)
#define Q_QUICK_PROFILE(feature, Method)
unsigned long long quint64
static void registerAnimationCallback()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent