ArrayAttr
Applicability
Product |
Supported (Yes/No) |
|---|---|
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 array attribute through a callback function.
Prototype
1 2 | template <Level levelAttr = level, typename T> Profiler &ArrayAttr(const char *attrName, const T &startIter, const T &endIter, typename ArrayCollectorHelper<Profiler<level>, T>::AttrCollectCallback callback) |
Options
Option |
Input/Output |
Description |
|---|---|---|
attrName |
Input |
Attribute name. |
startIter |
Input |
Start of any iterator. |
endIter |
Input |
End of any iterator. |
callback |
Input |
The callback function requires two input parameters: the first is the current object for adding attributes, and the second is the current iterator for retrieving the attribute content to record. |
Return Value
Profiler & Current object. Chain calls are supported.
Parent topic: msServiceProfiler Profiling