| 36 | } |
| 37 | |
| 38 | int MonitorRoutine::run() { |
| 39 | co_enable_hook_sys(); |
| 40 | while (true) { |
| 41 | int io_routine_used = io_routine_mgr_->GetUsedIORoutine(); |
| 42 | MonitorPluginEntry::GetDefault()->GetMonitorPlugin()->WorkingRoutine(io_routine_used); |
| 43 | LogWarning("%s: %d IORoutine is working....", __func__, io_routine_used); |
| 44 | poll(0, 0, 60 * 1000); |
| 45 | } |
| 46 | return 0; |
| 47 | } |
| 48 | |
| 49 | } |
nothing calls this directly
no test coverage detected