Use trace scope macros add execution scopes to the tracing subsystem. More...
Macros | |
| #define | kzTrace(category, name) |
| Traces a scope using the tracing subsystem. | |
| #define | kzTraceDynamic(category, name) |
| Traces a scope using the tracing subsystem with a dynamic scope name. | |
| #define | kzTraceInstant(category, name) |
| Traces an instant event to the tracing subsystem. | |
| #define | kzTraceSample(category, name, sample) |
| Traces a sample using the tracing subsystem. | |
Use trace scope macros add execution scopes to the tracing subsystem.
Use the KANZI_TRACING_BUILD macro to check whether the code is compiled with the Kanzi Tracing build configuration. The KANZI_TRACING_BUILD macro is not defined for the Release build.
| #define kzTrace | ( | category, | |
| name ) |
Traces a scope using the tracing subsystem.
Call the macro in the beginning of a function or scope that you want to trace.
This macro definition is empty when KANZI_TRACING_BUILD is not defined.
| category | The tracing category. |
| name | The scope name. |
| #define kzTraceDynamic | ( | category, | |
| name ) |
Traces a scope using the tracing subsystem with a dynamic scope name.
Call the macro in the beginning of a function or scope that you want to trace.
This macro definition is empty when KANZI_TRACING_BUILD is not defined.
| category | The tracing category. |
| name | The dynamic scope name. |
| #define kzTraceInstant | ( | category, | |
| name ) |
Traces an instant event to the tracing subsystem.
This macro definition is empty when KANZI_TRACING_BUILD is not defined.
| category | The tracing category. |
| name | The event name. |
| #define kzTraceSample | ( | category, | |
| name, | |||
| sample ) |
Traces a sample using the tracing subsystem.
This macro definition is empty when KANZI_TRACING_BUILD is not defined.
| category | The tracing category. |
| name | The sample name. |
| sample | The integral or floating point sample value. |