Lines Matching defs:duration
723 cond_move_irq_delta_start(struct osnoise_variables *osn_var, u64 duration)
726 osn_var->irq.delta_start += duration;
739 cond_move_softirq_delta_start(struct osnoise_variables *osn_var, u64 duration)
742 osn_var->softirq.delta_start += duration;
745 #define cond_move_softirq_delta_start(osn_var, duration) do {} while (0)
757 cond_move_thread_delta_start(struct osnoise_variables *osn_var, u64 duration)
760 osn_var->thread.delta_start += duration;
764 * get_int_safe_duration - Get the duration of a window
766 * The irq, softirq and thread variables need to have its duration without
770 * duration. In this way, a single variable is used to:
773 * - Account its duration.
780 * delta_start -= int duration;
782 * duration = now - delta_start;
784 * result: negative duration if the variable duration before the
788 * to capture an interference safe duration.
794 s64 duration;
802 duration = (now - *delta_start);
812 if (duration < 0)
813 osnoise_taint("Negative duration!\n");
817 return duration;
883 u64 duration;
897 duration = time_get() - osn_var->nmi.delta_start;
899 trace_nmi_noise(osn_var->nmi.delta_start, duration);
901 cond_move_irq_delta_start(osn_var, duration);
902 cond_move_softirq_delta_start(osn_var, duration);
903 cond_move_thread_delta_start(osn_var, duration);
917 * is used to compute the duration at the IRQ exit handler. See
940 * Computes the duration of the IRQ noise, and trace it. Also discounts the
946 s64 duration;
951 duration = get_int_safe_duration(osn_var, &osn_var->irq.delta_start);
952 trace_irq_noise(id, desc, osn_var->irq.arrival_time, duration);
954 cond_move_softirq_delta_start(osn_var, duration);
955 cond_move_thread_delta_start(osn_var, duration);
1048 * arrival time. The delta_start is used to compute the duration at the
1071 * Computes the duration of the softirq noise, and trace it. Also discounts the
1077 s64 duration;
1086 duration = get_int_safe_duration(osn_var, &osn_var->softirq.delta_start);
1087 trace_softirq_noise(vec_nr, osn_var->softirq.arrival_time, duration);
1088 cond_move_thread_delta_start(osn_var, duration);
1173 s64 duration;
1182 duration = get_int_safe_duration(osn_var, &osn_var->thread.delta_start);
1184 trace_thread_noise(t, osn_var->thread.arrival_time, duration);
1552 * rcu_momentary_eqs(), which performs a zero duration EQS
1769 * At this point, it is not interesting to know the duration of the