atlas/runtime/Trace.h file

Namespaces

namespace atlas
Contains all atlas classes and methods.
namespace atlas::runtime
namespace atlas::runtime::trace

Classes

struct atlas::runtime::trace::TraceTraits
class atlas::Trace

Defines

#define ATLAS_TRACE(...)
#define ATLAS_TRACE_SCOPE(...)
#define ATLAS_TRACE_BARRIERS(enabled)

Define documentation

#define ATLAS_TRACE(...)

Create scoped trace objects

Example:

void foo() {
    ATLAS_TRACE();
    // trace "foo" starts

    /* interesting computations ... *‍/

    ATLAS_TRACE_SCOPE("bar") {
        // trace "bar" starts

        /* interesting computations ... *‍/

        // trace "bar" ends
    }

    // trace "foo" ends
}

Example 2:

void foo() {
    ATLAS_TRACE("custom");
    // trace "custom" starts

    /* interesting computations ... *‍/

    // trace "custom" ends
}
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.