IsEnable

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

Determines whether to enable profiling. If the input parameter level is lower than the configured level, true is returned.

Prototype

1
inline bool IsEnable(Level msgLevel = level)

Options

Table 1 Options

Option

Input/Output

Description

msgLevel

Input

Profiling level defined. For details, see profiler_level in Creating a Configuration File for Profiling.

Return Value

true means to enable profiling; false indicates that profiling is disabled.