aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments/SchedulerTimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/instruments/SchedulerTimer.cpp')
-rw-r--r--tests/framework/instruments/SchedulerTimer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/framework/instruments/SchedulerTimer.cpp b/tests/framework/instruments/SchedulerTimer.cpp
index ab1dbbfb4c..75b128591a 100644
--- a/tests/framework/instruments/SchedulerTimer.cpp
+++ b/tests/framework/instruments/SchedulerTimer.cpp
@@ -63,6 +63,11 @@ public:
_real_scheduler.set_num_threads(num_threads);
}
+ void set_num_threads_with_affinity(unsigned int num_threads, BindFunc func) override
+ {
+ _real_scheduler.set_num_threads_with_affinity(num_threads, func);
+ }
+
unsigned int num_threads() const override
{
return _real_scheduler.num_threads();