InfiniTime/src/systemtask/SystemMonitor.h

17 lines
299 B
C
Raw Normal View History

#pragma once
#include <FreeRTOS.h> // declares configUSE_TRACE_FACILITY
#include <task.h>
namespace Pinetime {
namespace System {
class SystemMonitor {
2021-04-24 05:00:45 -04:00
public:
void Process();
#if configUSE_TRACE_FACILITY == 1
2021-04-24 05:00:45 -04:00
private:
mutable TickType_t lastTick = 0;
#endif
};
}
}