MetricScope
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
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
Option |
Input/Output |
Description |
|---|---|---|
scopeName |
Input |
Metric scope name. |
value |
Input |
Scope ID. |
Return Value
Profiler & Current object. Chain calls are supported.
Parent topic: msServiceProfiler Profiling