Tracer Log

As part of debugging options, VAD can create log file which will contain the trace information of graph execution. Tracer log will contain basic information about the graph structure, information about ports for each kernel and execution status of each kernel.

Enabling Tracer

The steps needed to enable tracer output log are as follows:

  1. Click the Configuration () button.
  2. Check the Save Tracer log to disk checkbox.
  3. Choose appropriate path where the tracer will save it output text file:

  4. The corresponding output file will have the following name: TracerLog-<graph_title>.txt

Information Supplied by the Tracer

The structure of the tracer log file has the following structure:

Header

Start executing graph: <graph_title> (<time date>)

Total number of nodes: <number_of_graph_nodes>

Total number of edges: <number_of_graph_edges>

Body, for every graph node, except subgraph node

Node instance name: <node_instance_name> (<node_kernel_name>)

Execution <succeeded/failed>

For every node port: <Input/Output> port: <port_index> (<port_type>)

NOTE: If the Comparator option is enabled, the corresponding node will have comparison information for each port in the following form for each compared port:
Compare value: <value>

NOTE: If Debug Dump option is enabled, the corresponding node will have output file information in the following form:
Dump location: <path_to_dump_file>

Footer

<Completed executing graph successfully / Execution of the graph failed!>

<number_of_successfully_executed_nodes> of <number_of_graph_nodes> were executed.

Example of Tracer Output for the Auto Contrast Sample

In case of successful execution of the graph (new lines were omitted for more convenient display):

Start executing graph: untitled (11:21:23 23-Mar-2017)

Total number of nodes: 10

Total number of edges: 11

Node instance name: org.khronos.debug.fread_image_20 (org.khronos.debug.fread_image) Execution succeeded

Input port: 0 (VX_TYPE_ARRAY)

Output port: 1 (VX_TYPE_IMAGE)

... ... ...

Completed executing graph successfully

10 of 10 were executed.

In case of unsuccessful execution of the graph (newlines were omitted for more convenient display):

Start executing graph: untitled (11:29:42 23-Mar-2017)

Total number of nodes: 10

Total number of edges: 11

Node instance name: org.khronos.debug.fread_image_20 (org.khronos.debug.fread_image) Execution failed

Input port: 0 (VX_TYPE_ARRAY)

Output port: 1 (VX_TYPE_IMAGE)

... ... ...

Execution of the graph failed !

9 of 10 were executed.

For more complete information about compiler optimizations, see our Optimization Notice.