Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.04 KB

File metadata and controls

38 lines (33 loc) · 1.04 KB

Verbose mode

It is possible to enable tracing execution of plugin nodes to cout and collect statistics, such as:

  • node implementer:
    • cpu (CPU plugin)
    • dnnl (oneDNN library)
    • ngraph_ref (ngraph reference fallback)
  • node name
  • node type
  • node algorithm
  • node primitive info
  • input / output ports info
  • fused nodes
  • execution time
  • etc

Format:

    ov_cpu_verbose,exec,<node_implemeter>,\
    <node_name>:<node_type>:<node_alg>,<impl_type>,\
    src:<port_id>:<precision>::<type>:<format>:f0:<shape> ...,\
    dst:<port_id>:<precision>::<type>:<format>:f0:<shape> ...,\
    post_ops:'<node_name>:<node_type>:<node_alg>;...;',\
    <execution_time>

To turn on verbose mode the following environment variable should be used:

    OV_CPU_VERBOSE=<level> binary ...

Currently verbose mode has only one level, any digit can be used for activation.

To have colored verbose output just duplicate level's digit, for example:

    OV_CPU_VERBOSE=11 binary ...

NOTE: Shell color codes are used