Function report |
Source Code:kernel\time\timekeeping.c |
Create Date:2022-07-28 10:41:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:timekeeping_cycles_to_ns
Proto:static inline u64 timekeeping_cycles_to_ns(const struct tk_read_base *tkr, u64 cycles)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct tk_read_base * | tkr | |
| u64 | cycles |
| 383 | delta = clocksource_delta(cycles, cycle_last, mask) |
| 384 | Return timekeeping_delta_to_ns(tkr, delta) |
| Name | Describe |
|---|---|
| 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 |
| 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 |