Hello!
I have coded a compression technique and I am having trouble in measuring the speed of it. I tried to generate log of start time and end time, but compression time of same file varies a lot under windows. That may be happening because other processes would be consuming resources my program could me in blocked mode for a while. Can anyone please suggest me a way to measure the execution time of my program minus the waiting time when it was blocked?
I can think of three possible ways
(1) Setup a minimal Linux and run my program there so that no other process would interfere my program.
(2) Use some tool that would help me generate the report about the execution of my program.
(3) Code my program in such a way that it would tell me the absolute execution time at the end of compression.
Please guide me...