Just a question out of curiousity:
Is there a way to messure the total time a process have had since it started(Total processing time, total processortime).
To explain better: if there is four processes running they will share the processor time between them. Lets say that each process gets 1/4 of a second of processor time each second. The lifetime (start to end) of the process would be 1 second * seconds_running. The processtime(start to end) would be 1/4 * seconds_running.
This above defines processtime. (So we all know what we are talking about here right?)
Now. If we could get the processtime, this would make better performance checking, since any other operation I did on the computer won't be accounted for. A performance check using a timeGetTime and the pseudo timeGetProcessTime would differ in result. Say I have my movie player running while doing the timeGetTime performance check, the result would totaly suffer! Now with the timeGetProcessTime checker the result will always be accurret, even if I played my movie in check 1 and didn't in check 2!
I know you can get processtime somehow, because you can see it in the Task Manager->processes->CPUtime.
Well happy for any answer!



LinkBack URL
About LinkBacks
)


