Warn when median burst time exceeds 100 ns

This commit is contained in:
Rodrigo Arias 2023-03-21 10:37:45 +01:00 committed by Rodrigo Arias Mallo
parent 7b0d446b02
commit 06c250500c

View File

@ -397,6 +397,9 @@ pre_burst(struct emu *emu)
info("%s burst stats: median/avg/max = %3.0f/%3.0f/%3.0f ns\n",
emu->loom->id, median, avg, maxdelta);
if (median > 100)
warn("large median burst time of %.0f ns, expect overhead", median);
th->nbursts = 0;
return 0;