[Minix]Getting system time.
Posted: Thu Feb 12, 2015 4:48 pm
1. How to get the system time used by the process measured in ticks in one quantum of time?
2.
How to get time spent waiting for I/O to happen?
2.
from http://minix1.woodhull.com/manpages/man2/times.2.htmlThe user time is the number of clock ticks used by a process on its own
computations. The system time is the number of clock ticks spent inside
the kernel on behalf of a process. This does not include time spent
waiting for I/O to happen, only actual CPU instruction times.
How to get time spent waiting for I/O to happen?