Using graph analysis
Installing & checking Graphviz
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.
In addition to TimeToPic Logger, start also example application that comes with bundle. It can be used for generating test data.
On picture below, button with green arrow will start recording. It will record until stop is pressed or connection to target is lost.
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.
When stop is pressed, recording is stopped and graph is cleared.
If user specifies stop condition, recording is stopped if keyword is detected on log lines.
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 '[' ']'.
Context can be used for separating call graph by threads or object instance for example.