| 24 | } |
| 25 | |
| 26 | std::shared_ptr<CompNode::Event> Timer::record_device(CompNode device) { |
| 27 | auto event = EventPool::with_timer().alloc_shared(device); |
| 28 | event->record(); |
| 29 | return event; |
| 30 | } |
| 31 | |
| 32 | std::vector<Profiler::entry_t> Profiler::sm_records; |
| 33 | Profiler::options_t Profiler::sm_profile_options; |
nothing calls this directly
no test coverage detected