| 135 | } |
| 136 | |
| 137 | void Kernel::SetEtlLogging(bool active) |
| 138 | { |
| 139 | HandleMarshalledException_(); |
| 140 | std::lock_guard lk{ mtx }; |
| 141 | if (!pm) { |
| 142 | pmlog_warn("presentmon not initialized"); |
| 143 | return; |
| 144 | } |
| 145 | pm->SetEtlLogging(active); |
| 146 | } |
| 147 | |
| 148 | bool Kernel::IsIdle_() const |
| 149 | { |