class openvino::itt::ScopedTask

Overview

Used to annotate section of code which would be named at runtime. More…

#include <itt.hpp>

template <domain_t(\*)() domain>
class ScopedTask
{
public:
    // construction

    ScopedTask(handle_t taskHandle);
    ScopedTask(const ScopedTask&);

    // methods

    ScopedTask& operator = (const ScopedTask&);
};

Detailed Documentation

Used to annotate section 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

ScopedTask(handle_t taskHandle)

Construct ScopedTask with defined annotation handle.