| 125 | } |
| 126 | |
| 127 | static inline TString FmtTime(double t) { |
| 128 | if (t < 0.5) { |
| 129 | t = 0.0; |
| 130 | } |
| 131 | |
| 132 | TString hr; |
| 133 | if (t > 10 * 1000) { |
| 134 | hr = " (" + ToString(HumanReadableSize(t, ESizeFormat::SF_QUANTITY)) + ")"; |
| 135 | } |
| 136 | |
| 137 | return ToString(t) + hr + " cycles"; |
| 138 | } |
| 139 | |
| 140 | const ui64 N = GetCycleCount(); |
| 141 | }; |
nothing calls this directly
no test coverage detected