| 1453 | } |
| 1454 | |
| 1455 | void ChannelImpl::stop_step() { |
| 1456 | MGB_LOCK_GUARD(m_spin); |
| 1457 | assert_available(); |
| 1458 | mgb_assert(Profiler::is_profiling() == true, "Profiler isn't profiling!"); |
| 1459 | m_worker.add_task( |
| 1460 | {Profiler::next_id(), StopStep{}, |
| 1461 | get_channel_state().stack_manager.dump()}); |
| 1462 | } |
| 1463 | |
| 1464 | void ChannelImpl::push_scope(std::string name, ScopeType type) { |
| 1465 | MGB_LOCK_GUARD(m_spin); |
nothing calls this directly
no test coverage detected