CPU time
POSIX functions codice_1 and codice_2 can be used to get CPU time consumed by any process in a POSIX environment. If the process is multithreaded, the CPU time is the sum for all threads.