Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ getAvg
Method
getAvg
tutorials/common/tutorial/statistics.h:42–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
float getMax() const { return vmax; }
41
42
float getAvg() const
43
{
44
if (N == 0) return 0.0f;
45
else return float(v/N);
46
}
47
48
private:
49
double v; // sum of all values
Callers
5
updateDatabase
Method · 0.45
execute
Method · 0.45
plot
Method · 0.45
renderBenchmarkLegacy
Function · 0.45
getAvg
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected