Blame examples/ClockerPlugIn/ReadMe.txt

Packit Service e31359
A test plug-ins that track tests and test suites running time. It demonstrates
Packit Service e31359
TestListener, TestPlugIn, and XmlOutputterHook.
Packit Service e31359
Packit Service e31359
Both suite and test case times are tracked. The plug-in include in the XML
Packit Service e31359
output the TestPath of each test cases and its tracked time.
Packit Service e31359
Packit Service e31359
The timed test hierarchy is also included in the XML output. This way it is
Packit Service e31359
possible to see the time each suite takes to run.
Packit Service e31359
Packit Service e31359
Packit Service e31359
Packit Service e31359
* Usage:
Packit Service e31359
Packit Service e31359
Just add this plug-in to DllPlugInTester command line. It will add a test 
Packit Service e31359
listener to track test time, and add a hook to the XmlOutputter to include
Packit Service e31359
test time to the XmlOutput.
Packit Service e31359
Packit Service e31359
If the option "text" is passed to the plug-in, the timed test tree will be
Packit Service e31359
printed to stdout.
Packit Service e31359
Packit Service e31359
DllPlugInRunnerd.exe ClockerPlugInd.dll
Packit Service e31359
or
Packit Service e31359
DllPlugInRunnerd.exe ClockerPlugInd.dll=text
Packit Service e31359
Packit Service e31359
* Example:
Packit Service e31359
Packit Service e31359
DllPlugInTesterd_dll.exe -x timed.xml ClockerPlugInd.dll CppUnitTestPlugInd.dll 
Packit Service e31359
Packit Service e31359
Will track time of all tests contains in CppUnitTestPlugInd.dll and save the
Packit Service e31359
result in timed.xml.
Packit Service e31359
Packit Service e31359
* Notes:
Packit Service e31359
Packit Service e31359
The id of the <TimedTestTree> are different than those of the
Packit Service e31359
<SuccessfulTests> and <FailedTests> trees. You can use the <TestPath> to 
Packit Service e31359
cross-reference the datas.
Packit Service e31359
Packit Service e31359
* Remarks:
Packit Service e31359
Packit Service e31359
You may want to review ClockerModel before using this plug-in for serious
Packit Service e31359
purpose, add timing based on the process cpu time.
Packit Service e31359
Packit Service e31359
A version is provided for NT that use the main thread cpu time. This is an issue 
Packit Service e31359
if the test cases are multithreaded.