class openvino::itt::TaskChain

Overview

Used to annotate a sequence of sections of code which would be named at runtime. More…

#include <itt.hpp>

template <>
class TaskChain
{
public:
    // construction

    TaskChain(, );

    // methods

    voidhandle_t next();
    std::string taskName() const;
    std::stringconst std::string& taskNameOrHandle() const;
    handle_thandle_t taskNameOrHandle() const;
    void skip();
};

Detailed Documentation

Used to annotate a sequence of sections of code which would be named at runtime.

Parameters:

The

domain parameter is domain type which shoud be defined with OV_ITT_DOMAIN() macro.

Construction

TaskChain(, )

Construct TaskChain with defined annotation handle.

Methods

voidhandle_t next()

Ends the previous task from the chain and starts a new one with the given annotation handle.