ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > ProcessTamer

Need prgm to measure the real runtime usage of a program

<< < (2/2)

f0dder:
Microsoft has a tool called "time" or "timeit" iirc. in the Windows Resource Kit, which will do exactly what you want - it reports the "wall time" (ie, running time), as well as CPU time used, both user & kernel mode, and some I/O statistics as well. Great stuff!

pstein:
This is very interesting. I just tried it out a couple of times.

But it always ends with a message like

timeit.exe -a -i -d "D:\test\sophos antirootkit\sarcli.exe"
CreateProcess( ' D:\test\sophos antirootkit\sarcli.exe"') failed (2)

When I omit some flags the error remains.
Only if I run the command alone then it works

So could you give me some more information.
I did not found any further samples and tutorials in Google on how to use timeit.exe

Thank you
Peter

f0dder:
hmmm, that sounds weird - perhaps it doesn't like spaces in filename? Try chdir'ing to the sophos folder and run timeit with a relative path.

Never had problems with timeit myself.. also, if it still fails for sophos, try it on something else and see if that works.

hth.

Navigation

[0] Message Index

[*] Previous page

Go to full version