perf_counter v1.9.8
A dedicated performance counter for Cortex-M Systick. It shares the SysTick with users' original SysTick function(s) without interfering with it.
|
Macros | |
#define | UNUSED_PARAM(__VAR) (void)(__VAR) |
#define | ALT_CONNECT2(__A, __B) __CONNECT2(__A, __B) |
#define | CONNECT2(__A, __B) __CONNECT2(__A, __B) |
#define | CONNECT3(__A, __B, __C) __CONNECT3(__A, __B, __C) |
#define | CONNECT4(__A, __B, __C, __D) __CONNECT4(__A, __B, __C, __D) |
#define | CONNECT5(__A, __B, __C, __D, __E) __CONNECT5(__A, __B, __C, __D, __E) |
#define | CONNECT6(__A, __B, __C, __D, __E, __F) __CONNECT6(__A, __B, __C, __D, __E, __F) |
#define | CONNECT7(__A, __B, __C, __D, __E, __F, __G) __CONNECT7(__A, __B, __C, __D, __E, __F, __G) |
#define | CONNECT8(__A, __B, __C, __D, __E, __F, __G, __H) __CONNECT8(__A, __B, __C, __D, __E, __F, __G, __H) |
#define | CONNECT9(__A, __B, __C, __D, __E, __F, __G, __H, __I) __CONNECT9(__A, __B, __C, __D, __E, __F, __G, __H, __I) |
#define | CONNECT(...) ALT_CONNECT2(CONNECT, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
#define | using(...) CONNECT2(__using, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
#define | with(...) CONNECT2(__with, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
#define | dimof(__array) (sizeof(__array)/sizeof(__array[0])) |
#define | SAFE_NAME(__NAME) CONNECT3(__,__NAME,__LINE__) |
#define | foreach2(__type, __array) |
#define | foreach3(__type, __array, __item) |
#define | foreach(...) CONNECT2(foreach, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
#define | safe_atom_code() |
#define ALT_CONNECT2 | ( | __A, | |
__B | |||
) | __CONNECT2(__A, __B) |
Definition at line 171 of file perf_counter.h.
#define CONNECT | ( | ... | ) | ALT_CONNECT2(CONNECT, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
Definition at line 185 of file perf_counter.h.
#define CONNECT2 | ( | __A, | |
__B | |||
) | __CONNECT2(__A, __B) |
Definition at line 172 of file perf_counter.h.
#define CONNECT3 | ( | __A, | |
__B, | |||
__C | |||
) | __CONNECT3(__A, __B, __C) |
Definition at line 173 of file perf_counter.h.
#define CONNECT4 | ( | __A, | |
__B, | |||
__C, | |||
__D | |||
) | __CONNECT4(__A, __B, __C, __D) |
Definition at line 174 of file perf_counter.h.
#define CONNECT5 | ( | __A, | |
__B, | |||
__C, | |||
__D, | |||
__E | |||
) | __CONNECT5(__A, __B, __C, __D, __E) |
Definition at line 175 of file perf_counter.h.
#define CONNECT6 | ( | __A, | |
__B, | |||
__C, | |||
__D, | |||
__E, | |||
__F | |||
) | __CONNECT6(__A, __B, __C, __D, __E, __F) |
Definition at line 176 of file perf_counter.h.
#define CONNECT7 | ( | __A, | |
__B, | |||
__C, | |||
__D, | |||
__E, | |||
__F, | |||
__G | |||
) | __CONNECT7(__A, __B, __C, __D, __E, __F, __G) |
Definition at line 178 of file perf_counter.h.
#define CONNECT8 | ( | __A, | |
__B, | |||
__C, | |||
__D, | |||
__E, | |||
__F, | |||
__G, | |||
__H | |||
) | __CONNECT8(__A, __B, __C, __D, __E, __F, __G, __H) |
Definition at line 180 of file perf_counter.h.
#define CONNECT9 | ( | __A, | |
__B, | |||
__C, | |||
__D, | |||
__E, | |||
__F, | |||
__G, | |||
__H, | |||
__I | |||
) | __CONNECT9(__A, __B, __C, __D, __E, __F, __G, __H, __I) |
Definition at line 182 of file perf_counter.h.
#define dimof | ( | __array | ) | (sizeof(__array)/sizeof(__array[0])) |
Definition at line 238 of file perf_counter.h.
#define foreach | ( | ... | ) | CONNECT2(foreach, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
Definition at line 262 of file perf_counter.h.
#define foreach2 | ( | __type, | |
__array | |||
) |
Definition at line 248 of file perf_counter.h.
#define foreach3 | ( | __type, | |
__array, | |||
__item | |||
) |
Definition at line 255 of file perf_counter.h.
#define safe_atom_code | ( | ) |
Definition at line 266 of file perf_counter.h.
#define SAFE_NAME | ( | __NAME | ) | CONNECT3(__,__NAME,__LINE__) |
Definition at line 242 of file perf_counter.h.
#define UNUSED_PARAM | ( | __VAR | ) | (void)(__VAR) |
Definition at line 133 of file perf_counter.h.
#define using | ( | ... | ) | CONNECT2(__using, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
Definition at line 219 of file perf_counter.h.
#define with | ( | ... | ) | CONNECT2(__with, __PLOOC_VA_NUM_ARGS(__VA_ARGS__))(__VA_ARGS__) |
Definition at line 232 of file perf_counter.h.