Searched refs:elapsed_cycles (Results 1 – 7 of 7) sorted by relevance
130 uint64_t elapsed_cycles; in GetCurrentTimeNanosFromKernel() local137 elapsed_cycles = after_cycles - before_cycles; in GetCurrentTimeNanosFromKernel()138 if (elapsed_cycles >= local_approx_syscall_time_in_cycles && in GetCurrentTimeNanosFromKernel()149 } while (elapsed_cycles >= local_approx_syscall_time_in_cycles || in GetCurrentTimeNanosFromKernel()158 if ((local_approx_syscall_time_in_cycles >> 1) < elapsed_cycles) { in GetCurrentTimeNanosFromKernel()
128 uint64_t elapsed_cycles; in GetCurrentTimeNanosFromKernel() local135 elapsed_cycles = after_cycles - before_cycles; in GetCurrentTimeNanosFromKernel()136 if (elapsed_cycles >= local_approx_syscall_time_in_cycles && in GetCurrentTimeNanosFromKernel()147 } while (elapsed_cycles >= local_approx_syscall_time_in_cycles || in GetCurrentTimeNanosFromKernel()156 if ((local_approx_syscall_time_in_cycles >> 1) < elapsed_cycles) { in GetCurrentTimeNanosFromKernel()
217 uint64_t elapsed_cycles; in GetCurrentTimeNanosFromKernel() local224 elapsed_cycles = after_cycles - before_cycles; in GetCurrentTimeNanosFromKernel()225 if (elapsed_cycles >= local_approx_syscall_time_in_cycles && in GetCurrentTimeNanosFromKernel()235 } while (elapsed_cycles >= local_approx_syscall_time_in_cycles || in GetCurrentTimeNanosFromKernel()240 if ((local_approx_syscall_time_in_cycles >> 1) < elapsed_cycles) { in GetCurrentTimeNanosFromKernel()
189 void UpdateCostEstimate(const NodeItem& node, uint64 elapsed_cycles) { in UpdateCostEstimate() argument197 ((kCostDecay - 1) * prev_estimate + elapsed_cycles) / kCostDecay; in UpdateCostEstimate()