Function report |
Source Code:kernel\time\timekeeping.c |
Create Date:2022-07-28 10:42:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ktime_get_snapshot - snapshots the realtime/monotonic raw clocks with counter*@systime_snapshot: pointer to struct receiving the system time snapshot
Proto:void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct system_time_snapshot * | systime_snapshot |
969 | tk = timekeeper |
979 | Do |
987 | nsec_real = timekeeping_cycles_to_ns( & tkr_mono, now) |
988 | nsec_raw = timekeeping_cycles_to_ns( & tkr_raw, now) |
992 | real = Add a ktime_t variable and a scalar nanosecond value.* res = kt + nsval:(base_real, nsec_real) |
993 | raw = Add a ktime_t variable and a scalar nanosecond value.* res = kt + nsval:(base_raw, nsec_raw) |
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 |