![]() |
VR-Link API Documentation for HLA 1516
|
VR-Link provides some classes to facilitate performace profiling of sections of code.
This functionality was added to VR-Link 3.12 for internal use, but may be used by customers. The provided classes use OS-dependent high performance counters to record the number of processor cycles between start() and stop() calls. The output is provided in seconds.
The performance statistics features are implemented in the following classes:
Here is an example of how the performance statistics classes can be used. This example contains two code sections, however there is no limit to the number of sections which can be created.