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? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -