Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

NameDescription
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
a280287b4939aad9cd68a26c3deb0c80a
a280287b4939aad9cd68a26c3deb0c80a

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.