summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/FIFOScheduler.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-04-25 12:28:31 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2025-04-25 12:28:31 -0400
commit1957b2dd33b244754cd47db05f831a7627b8031e (patch)
treeda438aabd8ff188e2a3c94c69352a36ec243f730 /include/framework/scheduling/FIFOScheduler.h
parent5a3d36fecabc8f220b19dcaea28a78f99b5244af (diff)
downloaddynamic-extension-1957b2dd33b244754cd47db05f831a7627b8031e.tar.gz
Scheduler statistics tracking update
The current scheme is really inefficient in terms of retreival of the results, but keeps the critical path mostly clear. It's probably worth it to do a more organized tracking of the data as it comes in, to avoid an n^2 statistics generation step at the end.
Diffstat (limited to 'include/framework/scheduling/FIFOScheduler.h')
-rw-r--r--include/framework/scheduling/FIFOScheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/framework/scheduling/FIFOScheduler.h b/include/framework/scheduling/FIFOScheduler.h
index 6875aca..703f13e 100644
--- a/include/framework/scheduling/FIFOScheduler.h
+++ b/include/framework/scheduling/FIFOScheduler.h
@@ -14,6 +14,7 @@
#include "framework/scheduling/Task.h"
#include "framework/scheduling/statistics.h"
+#include <bits/chrono.h>
#include <chrono>
#include <condition_variable>
#include <thread>
@@ -61,7 +62,6 @@ public:
m_stats.job_queued(ts, type, size);
m_task_queue.push(Task(size, ts, job, args, type, &m_stats, nullptr, &m_cv));
-
m_cv.notify_all();
}