QGIS/python/core/qgsruntimeprofiler.sip

70 lines
2.0 KiB
Plaintext
Raw Normal View History

2017-05-18 16:39:21 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsruntimeprofiler.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRuntimeProfiler
{
2017-05-18 16:39:21 +02:00
%TypeHeaderCode
2017-05-18 16:39:21 +02:00
#include "qgsruntimeprofiler.h"
%End
public:
2017-05-18 16:39:21 +02:00
QgsRuntimeProfiler();
2017-05-18 16:39:21 +02:00
%Docstring
Constructor to create a new runtime profiler.
%End
void beginGroup( const QString &name );
2017-05-18 16:39:21 +02:00
%Docstring
Begin the group for the profiler. Groups will append {GroupName}/ to the
front of the profile tag set using start.
\param name The name of the group.
%End
void endGroup();
2017-05-18 16:39:21 +02:00
%Docstring
End the current active group.
%End
void start( const QString &name );
2017-05-18 16:39:21 +02:00
%Docstring
Start a profile event with the given name.
\param name The name of the profile event. Will have the name of
the active group appended after ending.
%End
void end();
2017-05-18 16:39:21 +02:00
%Docstring
End the current profile event.
%End
2016-06-03 15:13:42 +02:00
void clear();
2017-05-18 16:39:21 +02:00
%Docstring
clear Clear all profile data.
%End
double totalTime();
2017-05-18 16:39:21 +02:00
%Docstring
The current total time collected in the profiler.
:return: The current total time collected in the profiler.
:rtype: float
%End
};
2017-05-18 16:39:21 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsruntimeprofiler.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/