Skip to content

Process Statistics Monitoring

Aaron Wisner edited this page Jul 9, 2016 · 2 revisions

TODO

The Scheduler will automatically track the average runTime for this process. Use process.getAvgRuntime() to get its average service routine runtime.

To get an estimate of its % CPU time, call scheduler.updateStats(), this will update the % CPU time for all added processes. You can now call process.getLoadPercent() which will return a percent.

#Enabling Uncomment _PROCESS_STATISTICS in config.h

Clone this wiki locally