PowerMonitor Class
Background SOM power sampler. More...
Declaration
class simaai::neat::PowerMonitor { ... }
Included Headers
#include <PowerTelemetry.h>
Public Constructors Index
| PowerMonitor (PowerMonitorOptions options={}) | |
| PowerMonitor (const PowerMonitor &)=delete | |
| PowerMonitor (PowerMonitor &&) noexcept | |
Public Destructor Index
| ~PowerMonitor () | |
Public Operators Index
| PowerMonitor & | operator= (const PowerMonitor &)=delete |
| PowerMonitor & | operator= (PowerMonitor &&) noexcept |
Public Member Functions Index
| void | start () |
|
Start background sampling if enabled. More... | |
| void | stop () |
|
Stop background sampling and keep the final summary available. More... | |
| void | sample_once () |
|
Collect one sample synchronously. More... | |
| PowerSummary | summary () const |
|
Return the current aggregate summary. More... | |
| bool | running () const |
|
True while the sampling thread is active. More... | |
Private Member Attributes Index
| std::unique_ptr< Impl > | impl_ |