#include "ProfilerCompatibility.h"
#include <misc.h>
#include "SysprogsProfiler.h"
#include "SysprogsProfilerInterface.h"
Macros | |
#define | SAMPLING_PROFILER_TIMER_INSTANCE 2 |
#define | CONCAT2_INNER(a, b) a ## b |
#define | CONCAT3_INNER(a, b, c) a ## b ## c |
#define | CONCAT2(a, b) CONCAT2_INNER(a,b) |
#define | CONCAT3(a, b, c) CONCAT3_INNER(a,b,c) |
Functions | |
void | SysprogsProfiler_DoHandleTimerIRQ (void *PC, void *SP, void *FP, void *LR) |
void | __attribute__ ((naked)) CONCAT3(TIM |
void | _IRQHandler () |
void | InitializeSamplingProfiler () |
Should be called from your main() function after initializing the system clock. More... | |
Variables | |
volatile int | g_SamplingProfilerRate = 100 |
volatile int | g_EnableSamplingProfiler = 0 |
void | SAMPLING_PROFILER_TIMER_INSTANCE |
Macro Definition Documentation
#define CONCAT2 | ( | a, | |
b | |||
) | CONCAT2_INNER(a,b) |
#define CONCAT2_INNER | ( | a, | |
b | |||
) | a ## b |
#define CONCAT3 | ( | a, | |
b, | |||
c | |||
) | CONCAT3_INNER(a,b,c) |
#define CONCAT3_INNER | ( | a, | |
b, | |||
c | |||
) | a ## b ## c |
#define SAMPLING_PROFILER_TIMER_INSTANCE 2 |
Function Documentation
void __attribute__ | ( | (naked) | ) |
void _IRQHandler | ( | ) |
void InitializeSamplingProfiler | ( | ) |
Should be called from your main() function after initializing the system clock.
- Remarks
- If this function is not implemented, you are missing a profiler driver for your platform. See the STM32 driver for an implementation example.
void SysprogsProfiler_DoHandleTimerIRQ | ( | void * | PC, |
void * | SP, | ||
void * | FP, | ||
void * | LR | ||
) |
Variable Documentation
volatile int g_EnableSamplingProfiler = 0 |
volatile int g_SamplingProfilerRate = 100 |
void SAMPLING_PROFILER_TIMER_INSTANCE |