MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / GetMax

Method GetMax

IntelPresentMon/Core/source/pmon/StatisticsTracker.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 return values.front() / 1000.;
50 }
51 double StatisticsTracker::GetMax()
52 {
53 Sort_();
54 if (values.empty()) {
55 return -1.;
56 }
57 return values.back() / 1000.;
58 }
59 double StatisticsTracker::GetMean() const
60 {
61 if (values.empty()) {

Callers 1

WriteStats_Method · 0.45

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected