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

Method print

kernels/common/profile.h:74–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void print(size_t numElements)
75 {
76 for (size_t k=0; k<N; k++)
77 dt_avg[k] /= double(i-numSkip);
78
79 printf(" profile [M/s]:\n");
80 for (size_t j=0; j<maxJ; j++)
81 printf("%20s: fst = %7.2f M/s, min = %7.2f M/s, avg = %7.2f M/s, max = %7.2f M/s\n",
82 names[j],numElements/dt_fst[j]*1E-6,numElements/dt_max[j]*1E-6,numElements/dt_avg[j]*1E-6,numElements/dt_min[j]*1E-6);
83
84 printf(" profile [ms]:\n");
85 for (size_t j=0; j<maxJ; j++)
86 printf("%20s: fst = %7.2f ms, min = %7.2f ms, avg = %7.2f ms, max = %7.2fms\n",
87 names[j],1000.0*dt_fst[j],1000.0*dt_min[j],1000.0*dt_avg[j],1000.0*dt_max[j]);
88 }
89
90 void print()
91 {

Callers 1

profileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected