Lines Matching refs:diff
1741 u64 diff; in timerlat_irq() local
1794 diff = now - tlat->abs_period; in timerlat_irq()
1798 s.timer_latency = diff; in timerlat_irq()
1804 if (time_to_us(diff) >= osnoise_data.stop_tracing) { in timerlat_irq()
1815 timerlat_dump_stack(time_to_us(diff)); in timerlat_irq()
1819 notify_new_max_latency(diff); in timerlat_irq()
1876 u64 now, diff; in timerlat_main() local
1915 diff = now - tlat->abs_period; in timerlat_main()
1918 s.timer_latency = diff; in timerlat_main()
1923 notify_new_max_latency(diff); in timerlat_main()
1925 timerlat_dump_stack(time_to_us(diff)); in timerlat_main()
1929 if (time_to_us(diff) >= osnoise_data.stop_tracing_total) in timerlat_main()
2488 s64 diff; in timerlat_fd_read() local
2525 diff = now - tlat->abs_period; in timerlat_fd_read()
2530 if (diff < 0) in timerlat_fd_read()
2534 s.timer_latency = diff; in timerlat_fd_read()
2539 notify_new_max_latency(diff); in timerlat_fd_read()
2543 if (time_to_us(diff) >= osnoise_data.stop_tracing_total) in timerlat_fd_read()
2560 diff = now - tlat->abs_period; in timerlat_fd_read()
2565 if (diff < 0) in timerlat_fd_read()
2569 s.timer_latency = diff; in timerlat_fd_read()
2575 if (time_to_us(diff) >= osnoise_data.stop_tracing_total) { in timerlat_fd_read()
2576 timerlat_dump_stack(time_to_us(diff)); in timerlat_fd_read()
2577 notify_new_max_latency(diff); in timerlat_fd_read()