Then we have one more clock.
It is clock on the school process and the school September variety, this gives us a process CPU time
clock.
So this gives us it measures the CPU time consumed by all the trucks in the process.
So it is useful for finding out whether your program is spending its total time C.P.U or whether it
is waiting for something else.
It can be used so it views this particular Clothilde gives us how much time your process is actually
using the.
It does not calculate the time spent in waiting for user input.
So the amount of time, which is the amount of time used by your process, which then it is actually
using the CPU, you can get it by using this particular clock.
So let's see this example.
So the same example which we have been using compost, so here we have Glaucus that maybe.
Then we have clip of five.
And then subtracting.
So what do you think will be the output, will we get five seconds here in the last seconds or will
we get some other value?
What will be the elapsed seconds if I use a clock?
Underscored Monotonic.
It's five seconds.
What will be the value when we have this clock on this process and course, Silvio Berlusconi?
What do you think can have this happy?
When we have five.
We know that it gives us the amount of time to process.
So let's measure it next on this program.
So is running a five second delay?
So this zero seconds, it only took some nanoseconds, I mean, it's but it's very zero seconds.
Because sleep is not taking that sleep, you sleep well, tell the colonel to get us to some other process.
This is the reason.
Took zero seconds.