Graph Tool Command Line Parameters (Compact 2013)
3/26/2014
You can run the Windows Embedded Compact Test Kit (CTK) Graph Tool in stand-alone mode using the described syntax and command-line parameters for the Graph Tool console application.
Syntax
GraphToolConsole -c <Graph Tool Config File> -i <Input File> -t <Test name>
[-o <Output File(xlsx)>] [-b <Benchmark file>][-trend][-image <path>]
[-ct <Chart Type>][-XlLaunch][-mht <Output File(mht)>][-font <Font Type>]
Parameters
- -c <Graph Tool Config File>
(Input) Path to the graph tool configuration file (.xml).
- -i <Input file>
(Input) Input log file(s).
- -t <Test name>
(Input) Name of the test DLL that is used to generate logs.
- [-o <Output excel file>]
(Output/Optional) Path to the output graph file (.xlsx). (By default, saves as Graphs.xlsx in base directory.)
- [-b <Benchmark file>]
(Input/Optional) Benchmark file.
- [-trend]
(Input/Optional) Enables trend analysis.
- [-image <Path>]
(Output/Optional) Saves graphs as JPEG images at specified path. (By default, saves images to the base directory.)
- [-ct <Chart Type>]
(Optional) Chart type to be plotted. 1-Smooth curve with markers and 2-Smooth curve.
- [-XlLaunch]
(Optional) Opens the output Microsoft Excel file.
- [-mht <Output mht file>]
(Output/Optional) Saves graphs as a webpage file (.mht) at specified path. (By default, saves as Graphs.mht in base directory.)
- [-font <font Type>]
(Optional) Font Type. 1-Small font type, 2-Medium font type, and 3-Large font type.
Examples
The following are examples of using the Graph Tool from the command-line.
GraphToolConsole -c ConfigFile.xml -t perf_winsock2 -i perf.LOG -image
GraphToolConsole -c ConfigFile.xml -o graph.xlsx -i perf.LOG -t perf_winsock2
GraphToolConsole -c ConfigFile.xml -o graph.xlsx -t perf_winsock2 -i perf.LOG
GraphToolConsole -c ConfigFile.xml -i perf.LOG -t perf_winsock2 -image -ct 2 -XlLaunch
GraphToolConsole -t perf_winsock2 -c ConfigFile.xml -i perf.LOG -image c:\images/ -ct 2
GraphToolConsole -c ConfigFile.xml -i perf.LOG -mht graphs.mht -t perf_winsock2 -ct 2 -font 1 -XlLaunch
Remarks
If a path for the input file(s) is not specified, the base directory is treated as the default path.
For detailed information about running the Graph Tool, see Compact Test Kit Overview.