From 1957b2dd33b244754cd47db05f831a7627b8031e Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Fri, 25 Apr 2025 12:28:31 -0400 Subject: 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. --- include/framework/scheduling/FIFOScheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/framework/scheduling/FIFOScheduler.h') 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 #include #include #include @@ -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(); } -- cgit v1.2.3