Attr Series

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

Adds an attribute and returns the current object. Chain calls are supported. The tool parses the attribute into trace data and shows it in args.

Prototype

1
2
template <Level levelAttr = level, typename T>
inline Profiler &Attr(const char *attrName, const T value)

Options

Table 1 Options

Option

Input/Output

Description

attrName

Input

Attribute name.

value

Input

Attribute value, a number or a character string.

Return Value

Profiler & Current object. Chain calls are supported.