| 4 | #include "tasking.h" |
| 5 | |
| 6 | OIDN_NAMESPACE_BEGIN |
| 7 | |
| 8 | // ----------------------------------------------------------------------------------------------- |
| 9 | // PinningObserver |
| 10 | // ----------------------------------------------------------------------------------------------- |
| 11 | |
| 12 | PinningObserver::PinningObserver(const std::shared_ptr<ThreadAffinity>& affinity) |
| 13 | : affinity(affinity) |
| 14 | { |
| 15 | observe(true); |
| 16 | } |
| 17 | |
| 18 | PinningObserver::PinningObserver(const std::shared_ptr<ThreadAffinity>& affinity, tbb::task_arena& arena) |
| 19 | : tbb::task_scheduler_observer(arena), |
nothing calls this directly
no outgoing calls
no test coverage detected