MetricScope

Applicability

Product

Supported (Yes/No)

Atlas A2 training products/Atlas A2 inference products

Yes

Atlas 200T A2 Box16 heterogeneous subrack

Yes

Atlas 300I Duo Inference Card + Atlas 800 inference server (model: 3000)

Yes

Note: Not supported by other products.

Function Description

Defines the scope of a metric class. It defaults to global.

Prototype

1
2
template <typename T>
inline Profiler &MetricScope(const char *scopeName, T value)

Options

Table 1 Options

Option

Input/Output

Description

scopeName

Input

Metric scope name.

value

Input

Scope ID.

Return Value

Profiler & Current object. Chain calls are supported.