struct Geo::PerformanceBlock
Scope control struct which instruments a block of code for performance analysis.
This currently supports ITT and falls back to Razor if ITT is not enabled. If neither is defined then declaring this struct does nothing.
Functions
Name | Description |
---|---|
PerformanceBlock(const char *, const char *) | Marks the start of a task using ITT if available, if not then Razor if available, otherwise a no-op. |
Anchor | ||||
---|---|---|---|---|
|
Geo::PerformanceBlock::PerformanceBlock
...
public: PerformanceBlock
(
const char * domain,
const char * label
)
...
Marks the start of a task using ITT if available, if not then Razor if available, otherwise a no-op.