QQmlProfilerServiceImpl Class

Public Functions

void startProfiling(QJSEngine *engine, quint64 features = std::numeric_limits<quint64>::max())
void stopProfiling(QJSEngine *engine)

Member Function Documentation

void QQmlProfilerServiceImpl::startProfiling(QJSEngine *engine, quint64 features = std::numeric_limits<quint64>::max())

Start profiling the given engine. If engine is 0, start all engine profilers that aren't currently running.

If any engine profiler is started like that also start all global profilers.

void QQmlProfilerServiceImpl::stopProfiling(QJSEngine *engine)

Stop profiling the given engine. If engine is 0, stop all currently running engine profilers.

If afterwards no more engine profilers are running, also stop all global profilers. Otherwise only make them report their data.