rusEFI
The most advanced open source ECU
|
https://github.com/rusefi/rusefi/wiki/Developer-Performance-Tracing
See JsonOutput.java in rusEfi console
Definition in file perf_trace.cpp.
Enumerations | |
enum class | EPhase : char { Start , End , InstantThread , InstantGlobal } |
Functions | |
static void | stopTrace () |
static void | perfEventImpl (PE event, EPhase phase) |
void | perfEventBegin (PE event) |
void | perfEventEnd (PE event) |
void | perfEventInstantGlobal (PE event) |
void | perfTraceEnable () |
const BigBufferHandle | perfTraceGetBuffer () |
Variables | |
static BigBufferHandle | s_traceBuffer |
static size_t | s_nextIdx = 0 |
static bool | s_isTracing = false |
Enumerator | |
---|---|
Start | |
End | |
InstantThread | |
InstantGlobal |
Definition at line 15 of file perf_trace.cpp.
void perfEventBegin | ( | PE | event | ) |
Definition at line 107 of file perf_trace.cpp.
Referenced by irqEnterHook(), and ScopePerf::ScopePerf().
void perfEventEnd | ( | PE | event | ) |
Definition at line 111 of file perf_trace.cpp.
Referenced by irqExitHook(), and ScopePerf::~ScopePerf().
Definition at line 48 of file perf_trace.cpp.
Referenced by perfEventBegin(), perfEventEnd(), and perfEventInstantGlobal().
void perfEventInstantGlobal | ( | PE | event | ) |
Definition at line 115 of file perf_trace.cpp.
Referenced by contextSwitchHook(), onLockHook(), and onUnlockHook().
void perfTraceEnable | ( | ) |
Definition at line 119 of file perf_trace.cpp.
Referenced by TunerStudio::handleCrcCommand().
const BigBufferHandle perfTraceGetBuffer | ( | ) |
Definition at line 132 of file perf_trace.cpp.
Referenced by TunerStudio::handleCrcCommand().
|
static |
Definition at line 43 of file perf_trace.cpp.
Referenced by perfEventImpl(), and perfTraceGetBuffer().
|
static |
Definition at line 41 of file perf_trace.cpp.
Referenced by perfEventImpl(), perfTraceEnable(), and stopTrace().
|
static |
Definition at line 39 of file perf_trace.cpp.
Referenced by perfEventImpl(), and stopTrace().
|
static |
Definition at line 38 of file perf_trace.cpp.
Referenced by perfEventImpl(), perfTraceEnable(), and perfTraceGetBuffer().