Skyward boardcore
|
#include <StackLogger.h>
Public Member Functions | |
void | updateStack (uint8_t threadId) |
void | log () |
![]() | |
Singleton (const Singleton &)=delete | |
Singleton & | operator= (const Singleton &)=delete |
Friends | |
class | Singleton< StackLogger > |
Additional Inherited Members | |
![]() | |
static StackLogger & | getInstance () |
![]() | |
Singleton () | |
Log the absolute free stack of each thread 1 times per second StackLogger::update(id) must be called periodically from each thread in order for data to be updated
Definition at line 45 of file StackLogger.h.
|
inline |
Logs the most up-to-date stack data Call this function periodically
Definition at line 72 of file StackLogger.h.
|
inline |
Update the stored absolute free stack associated to the calling thread. This function must be called by the thread to be logged.
threadId | Unique id identifying the thread |
Definition at line 55 of file StackLogger.h.
|
friend |
Definition at line 1 of file StackLogger.h.