bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more
Timing Subsystem in deep
Linux Kernel Programming - Timing Subsystem
Created by Linux Trainer, offered on Udemy
To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 141 students which left 1 reviews at an average rating of 5, which is average.
We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 4 hours 52 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 5 hours 13 minutes.
This course currently has a bestcourses score of 5.8/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.
Timing Measurements in Linux Kernel
Many computer activities are based on timing measurements.
E.g. Your Computer display is turned off, if you have not pressed a key or moved your mouse for a particular time.
Linux timing subsystem mainly handles two types of timing activities
1. Keeping the current time and date
a. time() , gettimeofday() and clock_gettime()
b. Time stamps for files and network packets
2. Maintaining Timers
a. Mechanisms to notify kernel and user space (ex. alarm()) that a certain interval of time has elapsed.
Linux depends on hardware devices to maintain time. These devices can be basically classified into two types:
1. Clocks/Counters: provide precise time measurements
Used to keep track of current time of day
2. Timers: Issue interrupts at fixed, predefined frequency.
Used for implementing software timers
What will you learn from this course?
Various timing commands: date, uptime
POSIX Clocks: CLOCK_BOOTTIME, CLOCK_MONOTONIC_RAW, CLOCK_REALTIME, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID
Timing System calls: ctime, gettimeofday, clock_gettime, clock_settime, clock_getres, times, getrusage
Setting time from userspace
How to measure time for a particular instruction
Hardware Devices used in timing measurement: RTC, TSC, Programmable Interval Timer, APIC, High Precision Event Timer
Low Resolution and High Resolution Timers
This course comes with a 30 day money back guaranteed!. If you are not satisfied with the course, you'll get your money back
So what are you waiting for, enroll now and take the next step in learning Timing subsystem in Linux Kernel
What you will learn
- Programming timing in user space
- Timing Hardware
- Low resolution & High resolution timers
- POSIX Clocks
- Should have a basic understanding of Linux Kernel modules
- C Language