* Given an elapsed time measured in cycles, return an integer * giving the corresponding time in microseconds. Note: toSeconds() * is faster than this method. * \param cycles * Difference between the results of two calls to rdtsc. * \param cyclesPerSec * Optional parameter to specify the frequency of the counter that #cycles * was taken from. Useful when converting a remote m
| 158 | * The time in microseconds corresponding to cycles (rounded). |
| 159 | */ |
| 160 | uint64_t |
| 161 | Cycles::toMicroseconds(uint64_t cycles, double cyclesPerSec) |
| 162 | { |
| 163 | return toNanoseconds(cycles, cyclesPerSec) / 1000; |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Given an elapsed time measured in cycles, return an integer |
nothing calls this directly
no outgoing calls
no test coverage detected