Skip to content

Commit 6bae209

Browse files
committed
schedule: zephyr_domain: change overrun semantics for LL stats
Change the logic how overrun count is reported out in the low-latency scheduler statistics reporting. Instead of resetting the overrun count after every window, keep a cumulative count of overruns seen. Overruns are in practise a rare occurrence and this change makes the CONFIG_SCHEDULE_LL_STATS_LOG_EVERY_OTHER_WINDOW option more useful as one can still track overruns for all executed iterations, even if reporting is done at a slower pace. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 151e137 commit 6bae209

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/schedule/zephyr_domain.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ static void zephyr_domain_thread_fn(void *p1, void *p2, void *p3)
131131
stats_report(runs, core, cycles_sum, cycles_max, overruns);
132132
cycles_sum = 0;
133133
cycles_max = 0;
134-
overruns = 0;
135134
}
136135
#endif /* CONFIG_SCHEDULE_LL_STATS_LOG */
137136

0 commit comments

Comments
 (0)