Skip to content
Snippets Groups Projects
Commit faf89ab5 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'overflow-queue-warn' into 'master'

[AbstractWorkStealingScheduler] Emit warning if overflow queue is used

See merge request i4/manycore/emper!365
parents 7eb9700e 62197ce3
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,11 @@ void AbstractWorkStealingScheduler::scheduleViaWorkStealing(Fiber& fiber) {
enqueueInAnywhereQueue(fiber);
emper::statsIncr(awss::stats.scheduledFibersToOverflowQueue);
if (!queueFullWarningEmitted) [[unlikely]] {
queueFullWarningEmitted = true;
LOGW("Work-stealing scheduling queues full: overflow queue used!");
}
} else {
ABORT("Could not push fiber " << &fiber << " into queue");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment