Can someone show / tell me please:
IProcess.GetTimes whats the meaning of Creation, Exit, Kernel, User is?
And maybe how to covert them into human readable values like cpu usage % and so on?
best regards
s!
CPU Usage...
That's not easy, I guess. I think you have to check e.g. every second what the three values combined are. E.g. let's say at time X those values are 50. Then one second later the values are 60. Now you can calculate how high the CPU usage for that one second was. Sorry, but I don't have the time to write code for you now. Perhaps you can find some help in google by using for GetProcessTimes and "cpu usage" or something like that?
re
That makes sense madshi!
Really not an easy task, thats while I'm here praying for help
I was googling the whole day now, not much what I've found mostly c-based things which looks more cryptical to me then my bank account...
cpu usage I've found alot about, but not for single processes like you can see in the normal taskman for windows... with the cpu usage I've play'd around with earlier but noticed that I had to put it in a seperate thread because it takes 100 % for calculating everything freezed but with a seperate thread works fine...
regards
s!
Really not an easy task, thats while I'm here praying for help
I was googling the whole day now, not much what I've found mostly c-based things which looks more cryptical to me then my bank account...
cpu usage I've found alot about, but not for single processes like you can see in the normal taskman for windows... with the cpu usage I've play'd around with earlier but noticed that I had to put it in a seperate thread because it takes 100 % for calculating everything freezed but with a seperate thread works fine...
regards
s!