Lines Matching refs:duration
696 cond_move_irq_delta_start(struct osnoise_variables *osn_var, u64 duration) in cond_move_irq_delta_start() argument
699 osn_var->irq.delta_start += duration; in cond_move_irq_delta_start()
712 cond_move_softirq_delta_start(struct osnoise_variables *osn_var, u64 duration) in cond_move_softirq_delta_start() argument
715 osn_var->softirq.delta_start += duration; in cond_move_softirq_delta_start()
718 #define cond_move_softirq_delta_start(osn_var, duration) do {} while (0) argument
730 cond_move_thread_delta_start(struct osnoise_variables *osn_var, u64 duration) in cond_move_thread_delta_start() argument
733 osn_var->thread.delta_start += duration; in cond_move_thread_delta_start()
767 s64 duration; in get_int_safe_duration() local
775 duration = (now - *delta_start); in get_int_safe_duration()
785 if (duration < 0) in get_int_safe_duration()
790 return duration; in get_int_safe_duration()
856 u64 duration; in trace_osnoise_callback() local
870 duration = time_get() - osn_var->nmi.delta_start; in trace_osnoise_callback()
872 trace_nmi_noise(osn_var->nmi.delta_start, duration); in trace_osnoise_callback()
874 cond_move_irq_delta_start(osn_var, duration); in trace_osnoise_callback()
875 cond_move_softirq_delta_start(osn_var, duration); in trace_osnoise_callback()
876 cond_move_thread_delta_start(osn_var, duration); in trace_osnoise_callback()
919 s64 duration; in osnoise_trace_irq_exit() local
924 duration = get_int_safe_duration(osn_var, &osn_var->irq.delta_start); in osnoise_trace_irq_exit()
925 trace_irq_noise(id, desc, osn_var->irq.arrival_time, duration); in osnoise_trace_irq_exit()
927 cond_move_softirq_delta_start(osn_var, duration); in osnoise_trace_irq_exit()
928 cond_move_thread_delta_start(osn_var, duration); in osnoise_trace_irq_exit()
1050 s64 duration; in trace_softirq_exit_callback() local
1059 duration = get_int_safe_duration(osn_var, &osn_var->softirq.delta_start); in trace_softirq_exit_callback()
1060 trace_softirq_noise(vec_nr, osn_var->softirq.arrival_time, duration); in trace_softirq_exit_callback()
1061 cond_move_thread_delta_start(osn_var, duration); in trace_softirq_exit_callback()
1146 s64 duration; in thread_exit() local
1155 duration = get_int_safe_duration(osn_var, &osn_var->thread.delta_start); in thread_exit()
1157 trace_thread_noise(t, osn_var->thread.arrival_time, duration); in thread_exit()