| 232 | |
| 233 | template <bool output_timestamps> |
| 234 | void SchedulerClock<output_timestamps>::test_stop() |
| 235 | { |
| 236 | // Restore real scheduler |
| 237 | Scheduler::set(_real_scheduler_type); |
| 238 | _real_scheduler = nullptr; |
| 239 | _interceptor = nullptr; |
| 240 | #ifdef ARM_COMPUTE_GRAPH_ENABLED |
| 241 | graph::TaskExecutor::get().execute_function = _real_graph_function; |
| 242 | _real_graph_function = nullptr; |
| 243 | #endif /* ARM_COMPUTE_GRAPH_ENABLED */ |
| 244 | |
| 245 | // Restore schedulers |
| 246 | std::for_each(std::begin(_scheduler_users), std::end(_scheduler_users), |
| 247 | [&](ISchedulerUser *user) |
| 248 | { |
| 249 | if (user != nullptr) |
| 250 | { |
| 251 | user->restore_scheduler(); |
| 252 | } |
| 253 | }); |
| 254 | } |
| 255 | |
| 256 | template <bool output_timestamps> |
| 257 | Instrument::MeasurementsMap SchedulerClock<output_timestamps>::measurements() const |
nothing calls this directly
no test coverage detected