Searched refs:elapsed_ns (Results 1 – 2 of 2) sorted by relevance
133 unsigned long long elapsed_ns, elapsed_tb; in main() local145 elapsed_ns = (tv_now.tv_sec - tv_start.tv_sec) * 1000000000ULL + in main()149 printf("%10.2f ns %10.2f cycles\n", (float)elapsed_ns / NR_LOOPS, in main()
415 s64 elapsed_ns; in _genpd_power_on() local429 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()430 if (elapsed_ns <= genpd->states[state_idx].power_on_latency_ns) in _genpd_power_on()433 genpd->states[state_idx].power_on_latency_ns = elapsed_ns; in _genpd_power_on()436 genpd->name, "on", elapsed_ns); in _genpd_power_on()445 s64 elapsed_ns; in _genpd_power_off() local459 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()460 if (elapsed_ns <= genpd->states[state_idx].power_off_latency_ns) in _genpd_power_off()463 genpd->states[state_idx].power_off_latency_ns = elapsed_ns; in _genpd_power_off()466 genpd->name, "off", elapsed_ns); in _genpd_power_off()[all …]