Warn when median burst time exceeds 100 ns
This commit is contained in:
parent
7b0d446b02
commit
06c250500c
@ -397,6 +397,9 @@ pre_burst(struct emu *emu)
|
|||||||
info("%s burst stats: median/avg/max = %3.0f/%3.0f/%3.0f ns\n",
|
info("%s burst stats: median/avg/max = %3.0f/%3.0f/%3.0f ns\n",
|
||||||
emu->loom->id, median, avg, maxdelta);
|
emu->loom->id, median, avg, maxdelta);
|
||||||
|
|
||||||
|
if (median > 100)
|
||||||
|
warn("large median burst time of %.0f ns, expect overhead", median);
|
||||||
|
|
||||||
th->nbursts = 0;
|
th->nbursts = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user