|
From: Per W. <pw...@ia...> - 2003-06-30 21:57:27
|
No clock functions might be used, since they return wall time, and doesn't take into account how much CPU the actual program got. Under windows, you should use GetThreadTimes(), which will report amount of time spent in user and kernel for a single thread, or GetProcessTimes() that reports used time for a process. Under unix, the corresponding call is getrusage(). /Per W No clock functions might be used, since On Mon, 30 Jun 2003, Felipe Lima wrote: > Is there any function or command or program that, under windows, returns me how much time of CPU processing it spent? Must be someting in order or ms(milisseconds) or less. > > > Thankx. > > -=-=-=-=-=-=- > Felipe Lima - Software Tester/ Developer > CPTS - Software Test Research Center > HP Brazil - PUCRS |