
Short description:
------------------
Recently durring one of our code camps with Vesko Kolev we had the need of testing an application which was time, CPU and memory consuming in different multitasking environments. While Vesko has been codding the real stuff I did the testing program given here. The idea of this program is to help you understand how you can get most of your hardware. This is done by running user selected program in selected count of threads and each thread has a selected count of queued executions This can help you answer questions like: "How much can this hardware take?", "Which is the optimal number of parallel running processes for this hardware?" and so on. Since the selected process is expected to run for a certain time and stop, after all the processes are finished, the total time is displayed. Keep in mind that I'm not using multimedia timers here and the precision (even displayed in miliseconds) is limited by the system clock which ticks 17.2 times per second. If you need better precision please fix the code and send your fixes back to me :)

Syntax: RuntimeTester [-p count] [-q count] cmd line
    -p : specifies the count of parallel running execution threads
    -q : specifies the count of queued runs per thread
	
Examples:
---------
RuntimeTester -p 2 -q 1 program.exe
Will run 2 parallel queues and therefore program.exe will be started 2 times in parallel
RuntimeTester will quit when both running copies stop executing

RuntimeTester -p 1 -q 2 program.exe
Will run 1 parallel queue and inside it program.exe will be started 2 times one after another
RuntimeTester will quit when the last running copy of program.exe stop executing

RuntimeTester -p 2 -q 3 program.exe
Will run 2 parallel queues and inside it program.exe will be started 3 times one after another
most of the time you will have 2 running copies of program.exe at the same time
RuntimeTester will quit when all running copies stop executing
the total number of executions of program.exe will be 6 times

What's in archive:
------------------
The source code and build batch files for 4 different compilers in both ANSI and UNICODE flavors: MinGW, Microsoft Visual C/C++, OpenWatcom, DigitalMars C/C++. All the batch files include my current path inside! You need to change them to your path (or remove the path if you have the compiler(s) in your PATH environment variable).
