MCPcopy Create free account
hub / github.com/RenderKit/embree / absolute

Method absolute

kernels/common/profile.h:41–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 __forceinline void absolute (const char* name)
42 {
43 const double t1 = getSeconds();
44 const double dt = t1-t0;
45 assert(names[j] == nullptr || names[j] == name);
46 names[j] = name;
47 if (i == 0) dt_fst[j] = dt;
48 if (i>=numSkip) {
49 dt_min[j] = min(dt_min[j],dt);
50 dt_avg[j] = dt_avg[j] + dt;
51 dt_max[j] = max(dt_max[j],dt);
52 }
53 j++;
54 maxJ = max(maxJ,j);
55 }
56
57 __forceinline void relative (const char* name)
58 {

Callers

nothing calls this directly

Calls 3

getSecondsFunction · 0.85
minFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected