| 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 | { |
nothing calls this directly
no test coverage detected