So we have seen activity which is both clock and a timer.
Let's look into some of is other hardware device, which is a clock.
Again, timestamp code is a timestamp Kontum.
So Timestamp Countdown is a Harvard feature, which is phone on number of processors.
So it is a it's a special register, which is simply incremental for every block cycle.
So whatever clock cycle you have, like if I have one gigahertz, I will have one in total power, nine
clock cycles.
This means this particular resistor will increment that many number of times for a second.
So, everyone, clock cycle, this is increment four.
And so if you have a clock of two gigahertz, the cold timestamp count will increment twice but nanosecond
since the clock is the fundamental unit of time it provides.
Timestamp Konda provides the highest resolution aming information for the processor.
It can be used for a number of commercial applications measuring the exact time cost of specific instructions
for operations so you can again verify the time stamp is not checking your analog.
There's a time stamp, you can see it also displays the frequency.
Detected this much frequency, so timestamp is growth that provides the highest resolution under for
the timing.
So let's look into some of the examples of timestamped so timestamp, but it is a registered 64 bit
registered, which is present in all Intel processors after the Pentium process, and it stores a number
of cycles executed by the CPU after the recent.
So Thompson can read it from your software using the instruction, read, it is timestamp content so
you can use this particular instruction, Deepsea, to read the timestamp.
So we can use in line assembly here.
So it is simply a disease, that assembler template, and then you have output operands extolling the
value of Haddix.
And here are the links of the in here.
And then you combine it and you start you get a 64 bit.
So you're having a sleep of one second here in between and then you are again reading the value of some
called.
And then the difference.
So what do you think will be the value of what will be the output here?
So we know the U.S. will increment every clock cycle and we are having a sleep of one.
So it will and then we are hearing about it.
So this means the result will be a number of clock cycles per second, which is actually the frequency.
So if you have to guys that will be doing that much will be there is a.
Here you can be a normal user and you can also read the timestamp.
So I can see at two point five, nine to wasso gigahertz frequency, and this is what?
This mini clock cycles happening between one second of sleep.
So I can see this many clocks like this are happening in one section of space, asleep with sleep,
which we have used as sleep Islamic scholar.