Timing Subsystem in deep

所在平台: Udemy

课程主页: https://www.udemy.com/course/timing-subsystem-in-deep/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:深度了解Linux内核中的时序子系统 课程概述: 计算机的许多活动都依赖于时序测量,例如,当一段时间内未按键或移动鼠标时,计算机显示器会关闭。本课程将深入探讨Linux时序子系统,主要处理两种类型的时序活动:一是保持当前的时间和日期(通过 time()、gettimeofday() 和 clock_gettime() 等函数实现),以及文件和网络数据包的时间戳;二是维护定时器(例如 alarm() 函数用来通知内核和用户空间某个时间间隔已过去)。 硬件设备: Linux对硬件设备的依赖用于维护时间,这些设备主要分为两类: 1. 时钟/计数器:提供精确的时间测量,用于跟踪当前的日期和时间。 2. 定时器:以固定的预定义频率发出中断,用于实现软件定时器。 您将在本课程中学习到: - 各种时序命令:date、uptime - POSIX时钟:CLOCK_BOOTTIME、CLOCK_MONOTONIC_RAW、CLOCK_REALTIME、CLOCK_PROCESS_CPUTIME_ID、CLOCK_THREAD_CPUTIME_ID - 时序系统调用:ctime、gettimeofday、clock_gettime、clock_settime、clock_getres、times、getrusage - 从用户空间设置时间 - 如何测量特定指令的时间 - 用于时序测量的硬件设备:RTC、TSC、可编程间隔定时器、APIC、高精度事件计时器 - Jiffies - 低分辨率和高分辨率定时器 本课程提供30天退款保证!如果您不满意,请随时申请退款。那么您还在等什么呢?立即注册,开始学习Linux内核中的时序子系统吧!

课程评论(0条)

课程详情

Timing Measurements in Linux KernelMany 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.Hardware DevicesLinux 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 timersWhat will you learn from this course?Various timing commands: date, uptimePOSIX Clocks: CLOCK_BOOTTIME, CLOCK_MONOTONIC_RAW, CLOCK_REALTIME, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_IDTiming System calls: ctime, gettimeofday, clock_gettime, clock_settime, clock_getres, times, getrusageSetting time from userspaceHow to measure time for a particular instructionHardware Devices used in timing measurement: RTC, TSC, Programmable Interval Timer, APIC, High Precision Event TimerJiffiesLow Resolution and High Resolution TimersThis course comes with a 30 day money back guaranteed!. If you are not satisfied with the course, you'll get your money backSo what are you waiting for, enroll now and take the next step in learning Timing subsystem in Linux Kernel

课程标签

0人关注该课程

主题相关的课程