Spinnaker SDK C++
4.1.0.172
 
 

 
Loading...
Searching...
No Matches
CpuUtil.cpp File Reference

Namespaces

namespace  CpuUtil
 
namespace  PerformanceCounter
 
namespace  SecondsCounter
 
namespace  Conversion
 

Functions

bool StartCpuTracing (CpuUsageInfo *cpuUsage)
 
bool StopCpuTracing (CpuUsageInfo *cpuUsage)
 
std::string GetCpuStats (CpuUsageInfo *cpuUsage)
 
void StartPerformanceCounter ()
 
double GetPerformanceCounter ()
 
void StartSecondsCounter ()
 
int GetSecondsCounter ()
 
string NumToCString (int number)
 
string NumToCString (double number)
 
string NumToCString (float number)
 

Variables

double PCFreq
 
__int64 CounterStart
 
time_t startTime
 
time_t endTime
 
double timeDiff