This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.


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.

  • No labels