Function report | 
Source Code:kernel\time\timekeeping.c | 
Create Date:2022-07-28 10:41:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:k_clock_read - atomic clocksource read() helper* This helper is necessary to use in the read paths because, while the* seqlock ensures we don't return a bad value while structures are updated,* it doesn't protect from potential crashes
Proto:static inline u64 tk_clock_read(const struct tk_read_base *tkr)
Type:u64
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct tk_read_base * | tkr | 
| Name | Describe | 
|---|---|
| timekeeping_get_delta | |
| tk_setup_internals | k_setup_internals - Set up internals to use clocksource clock | 
| __ktime_get_fast_ns | ktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic* This timestamp is not guaranteed to be monotonic across an update | 
| __ktime_get_real_fast_ns | See comment for __ktime_get_fast_ns() vs. timestamp ordering | 
| halt_fast_timekeeper | halt_fast_timekeeper - Prevent fast timekeeper from accessing clocksource.*@tk: Timekeeper to snapshot.* It generally is unsafe to access the clocksource after timekeeping has been* suspended, so take a snapshot of the readout base of @tk and use it as the | 
| timekeeping_forward_now | mekeeping_forward_now - update clock to the current time* Forward the current clock to update its state since the last call to* update_wall_time(). This is useful before significant clock changes, | 
| ktime_get_snapshot | ktime_get_snapshot - snapshots the realtime/monotonic raw clocks with counter*@systime_snapshot: pointer to struct receiving the system time snapshot | 
| get_device_system_crosststamp | get_device_system_crosststamp - Synchronously capture system/device timestamp*@get_time_fn: Callback to get simultaneous device time and* system counter from the device driver*@ctx: Context passed to get_time_fn()*@history_begin: Historical reference | 
| timekeeping_resume | mekeeping_resume - Resumes the generic timekeeping subsystem. | 
| timekeeping_advance | mekeeping_advance - Updates the timekeeper to the current time and* current NTP tick length | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |