Attr Series
Applicability
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function
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) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
attrName |
Input |
Attribute name. |
value |
Input |
Attribute value, a number or a character string. |
Returns
Profiler &Current object. Chain calls are supported.