Linux Kernel Architecture
Chapter 15: Time Management goto retry; } /* Raise softirq? */ if (raise) raise_softirq(HRTIMER_SOFTIRQ); } Note that reprogramm ...
Chapter 15: Time Management The mechanism is not particularly complicated: After the coarse time is stored in the timer base by ...
Chapter 15: Time Management When the handler has finished, theHRTIMER_STATE_CALLBACKflag can be removed again. If the timer requ ...
Chapter 15: Time Management 1 because I do not consider dynamic tick mode for now. The previously discussed functiondo_timer is ...
Chapter 15: Time Management Set resolution in clock base retrigger_next_event hrtimer_switch_to_highres tick_init_highres tick_s ...
Chapter 15: Time Management until the next timer will expire. The tick is re-enabled again after this time span, or when an inte ...
Chapter 15: Time Management value stored inidle_tickas basis. A sufficient number of tick intervals are added to obtain the expi ...
Chapter 15: Time Management Set tick_sched->nohz_mode to NOHZ_MODE_LOWRES Initialize tick timer and program next tick tick_no ...
Chapter 15: Time Management /* Check, if the jiffies need an update */ if (tick_do_timer_cpu == cpu) tick_do_update_jiffies64(no ...
Chapter 15: Time Management Updating the jiffies value is naturally only required if the last update is more than one tick perio ...
Chapter 15: Time Management This code is run at the very beginning oftick_sched_timer. When the handler is finished, it is usua ...
Chapter 15: Time Management while (1) { ... tick_nohz_stop_sched_tick(); while (!need_resched()) idle(); ... tick_nohz_restart_s ...
Chapter 15: Time Management unsigned long seq, last_jiffies, next_jiffies, delta_jiffies, flags; struct tick_sched *ts; ktime_t ...
Chapter 15: Time Management Finally, the tick device is reprogrammed to provide the next event at the proper point in time. Whil ...
Chapter 15: Time Management idle time,tick_sched->tick_stoppedis set to 0 because the tick is now active again. Finally, the ...
Chapter 15: Time Management apic_timer_interrupt. The result is that the clock event device cannot distinguish between IPIs and ...
Chapter 15: Time Management As already suggested by its name, the primary use of this timer is in theprofilingof applications in ...
Chapter 15: Time Management struct hrtimer real_timer; struct task_struct *tsk; ktime_t it_real_incr; /* ITIMER_PROF and ITIMER_ ...
Chapter 15: Time Management can choose a very short repetition interval that would cause timers to expire over and over — result ...
Chapter 15: Time Management update_process_timesis used to manage process-specific time elements and is invoked from the local t ...
«
44
45
46
47
48
49
50
51
52
53
»
Free download pdf