Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

APM_PerfMon Class Reference

#include <APM_PerfMon.h>

Collaboration diagram for APM_PerfMon:
Collaboration graph
[legend]

List of all members.

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_PerfMonlastCreated = NULL

Detailed Description

Definition at line 19 of file APM_PerfMon.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 24 of file APM_PerfMon.h.

Definition at line 29 of file APM_PerfMon.h.

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.


The documentation for this class was generated from the following files: