Skip to content
Snippets Groups Projects
Commit 7822b0e1 authored by Florian Fischer's avatar Florian Fischer
Browse files

[AbstractWorkStealingStats] actually use hint stats

parent 7ae0f69b
No related branches found
No related tags found
1 merge request!267[AbstractWorkStealingStats] actually use hint stats
......@@ -168,6 +168,7 @@ popBottom:
if (stolen) {
fiber = (*stolen).first;
fiberSource = FiberSource::hintWsq;
emper::statsIncr(awss::stats.nextFiberFromHintLocal);
goto out;
}
} break;
......@@ -177,6 +178,7 @@ popBottom:
if (fromAnywhere) {
fiber = (*fromAnywhere).first;
fiberSource = FiberSource::hintAq;
emper::statsIncr(awss::stats.nextFiberFromHintAnywhere);
goto out;
}
break;
......
......@@ -10,6 +10,8 @@ auto AbstractWorkStealingWorkerStats::operator+=(const AbstractWorkStealingWorke
scheduledFibersToOverflowQueue += other.scheduledFibersToOverflowQueue;
maxQueueLength = std::max(maxQueueLength, other.maxQueueLength);
nextFiberFromLocal += other.nextFiberFromLocal;
nextFiberFromHintLocal += other.nextFiberFromHintLocal;
nextFiberFromHintAnywhere += other.nextFiberFromHintAnywhere;
nextFiberStolen += other.nextFiberStolen;
nextFiberFromAnywhereQueue += other.nextFiberFromAnywhereQueue;
......
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