HyperPlatform Programmer's Reference
|
Implements performance measurement functions. More...
Go to the source code of this file.
Functions | |
NTSTATUS | PerfInitialization () |
Makes HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE() ready for use. More... | |
void | PerfTermination () |
Ends performance monitoring and outputs its results. More... | |
ULONG64 | PerfGetTime () |
Returns the current "time" for performance measurement. More... | |
static void | PerfpInitialOutputRoutine (void *output_context) |
static void | PerfpOutputRoutine (const char *location_name, ULONG64 total_execution_count, ULONG64 total_elapsed_time, void *output_context) |
static void | PerfpFinalOutputRoutine (void *output_context) |
Variables | |
static PerfCollector::InitialOutputRoutine | PerfpInitialOutputRoutine |
static PerfCollector::OutputRoutine | PerfpOutputRoutine |
static PerfCollector::FinalOutputRoutine | PerfpFinalOutputRoutine |
PerfCollector * | g_performance_collector |
Stores all performance data collected by HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE(). More... | |
Implements performance measurement functions.
Definition in file performance.cpp.
ULONG64 PerfGetTime | ( | ) |
Returns the current "time" for performance measurement.
It should only be used by HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE().
Definition at line 83 of file performance.cpp.
NTSTATUS PerfInitialization | ( | ) |
Makes HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE() ready for use.
Definition at line 53 of file performance.cpp.
|
static |
Definition at line 103 of file performance.cpp.
|
static |
Definition at line 88 of file performance.cpp.
|
static |
Definition at line 95 of file performance.cpp.
void PerfTermination | ( | ) |
Ends performance monitoring and outputs its results.
Definition at line 73 of file performance.cpp.
PerfCollector* g_performance_collector |
Stores all performance data collected by HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE().
Definition at line 46 of file performance.cpp.
|
static |
Definition at line 34 of file performance.cpp.
|
static |
Definition at line 32 of file performance.cpp.
|
static |
Definition at line 33 of file performance.cpp.