linux - Get process's timeslice in user mode -


how can value of process's timeslice in user mode? designed new scheduling policy, , want check if processes same policy (my policy) have same timeslice run. not real-time process.

you can see in

/proc/<pid>/stat

14th , 15th fields represent utime , stime respectively. utime time spent in user mode while stime represents time spent process in kernel mode.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -