#include <APM_PerfMon.h>
Public Member Functions | |
APM_PerfMon (int funcNum) | |
~APM_PerfMon () | |
void | stop () |
void | start () |
Static Public Member Functions | |
static int | recordFunctionName (const char funcName[]) |
static void | DisplayResults (HardwareSerial *aSerial) |
static void | ClearAll () |
static int | strLen (char *str) |
Public Attributes | |
int | _funcNum |
unsigned long | _startTime |
APM_PerfMon * | _parent |
Static Public Attributes | |
static int | nextFuncNum |
static char | functionNames [PERFMON_MAX_FUNCTIONS][PERFMON_FUNCTION_NAME_LENGTH] |
static unsigned long | time [PERFMON_MAX_FUNCTIONS] |
static unsigned long | numCalls [PERFMON_MAX_FUNCTIONS] |
static unsigned long | allStartTime |
static unsigned long | allEndTime |
static APM_PerfMon * | lastCreated = NULL |
Definition at line 19 of file APM_PerfMon.h.
APM_PerfMon::APM_PerfMon | ( | int | funcNum | ) |
Definition at line 25 of file APM_PerfMon.cpp.
APM_PerfMon::~APM_PerfMon | ( | ) |
Definition at line 44 of file APM_PerfMon.cpp.
void APM_PerfMon::ClearAll | ( | ) | [static] |
Definition at line 86 of file APM_PerfMon.cpp.
void APM_PerfMon::DisplayResults | ( | HardwareSerial * | aSerial | ) | [static] |
Definition at line 109 of file APM_PerfMon.cpp.
int APM_PerfMon::recordFunctionName | ( | const char | funcName[] | ) | [static] |
Definition at line 67 of file APM_PerfMon.cpp.
void APM_PerfMon::start | ( | ) |
Definition at line 61 of file APM_PerfMon.cpp.
void APM_PerfMon::stop | ( | ) |
Definition at line 55 of file APM_PerfMon.cpp.
int APM_PerfMon::strLen | ( | char * | str | ) | [static] |
Definition at line 195 of file APM_PerfMon.cpp.
Definition at line 38 of file APM_PerfMon.h.
Definition at line 40 of file APM_PerfMon.h.
unsigned long APM_PerfMon::_startTime |
Definition at line 39 of file APM_PerfMon.h.
unsigned long APM_PerfMon::allEndTime [static] |
Definition at line 28 of file APM_PerfMon.h.
unsigned long APM_PerfMon::allStartTime [static] |
Definition at line 27 of file APM_PerfMon.h.
char APM_PerfMon::functionNames [static] |
Definition at line 24 of file APM_PerfMon.h.
APM_PerfMon * APM_PerfMon::lastCreated = NULL [static] |
Definition at line 29 of file APM_PerfMon.h.
int APM_PerfMon::nextFuncNum [static] |
Definition at line 23 of file APM_PerfMon.h.
unsigned long APM_PerfMon::numCalls [static] |
Definition at line 26 of file APM_PerfMon.h.
unsigned long APM_PerfMon::time [static] |
Definition at line 25 of file APM_PerfMon.h.