HyperPlatform Programmer's Reference
|
Declares interfaces to performance measurement functions. More...
#include "perf_counter.h"
Go to the source code of this file.
Macros | |
#define | HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE() |
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... | |
Variables | |
PerfCollector * | g_performance_collector |
Stores all performance data collected by HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE(). More... | |
Declares interfaces to performance measurement functions.
Definition in file performance.h.
#define HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE | ( | ) |
Definition at line 30 of file performance.h.
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.
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.