Installing & checking Graphviz

Installing

To use graph analysis tooling you need that Graphviz tool is installed and can be found from path (#1 picture below).
Graphviz can be downloaded from www.graphviz.org.

Checking that TimeToPic Logger can detect Graphviz

When TimeToPic Logger starts, it will check presence of Graphviz. If detection is successful you should see button on toolbar like picture below.


Quick testing

In addition to TimeToPic Logger, start also example application that comes with bundle. It can be used for generating test data. 

Buttons explained

Record

On picture below, button with green arrow will start recording. It will record until stop is pressed or connection to target is lost.

Analyse

When user presses analyze button the graph recorded so far is shown. If user presses it again, comparison graph to previous analyze graph is shown. 

Stop

When stop is pressed, recording is stopped and graph is cleared. 

Stop condition

If user specifies stop condition, recording is stopped if keyword is detected on log lines. 


Charts explained

TimeToPic logger will create graphs from log lines that are TimeToPic statemachine or event types. Items are drawn to own graphs.  If traceitems contains context (explained later), those items are drawn to own graphs. 


Examples and tips

Use contexts for separating items to own graphs. 

Context is added to TimeToPic event name into between '[' ']'.   
2014/02/11 21:35:27.150;event;start;[myContext]myEvent
2014/02/11 21:35:28.150;event;stop;[myContext]myEvent

Context can be used for separating call graph by threads or object instance for example.