Function report |
Source Code:kernel\time\vsyscall.c |
Create Date:2022-07-28 10:52:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:update_vdso_data
Proto:static inline void update_vdso_data(struct vdso_data *vdata, struct timekeeper *tk)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct vdso_data * | vdata | |
struct timekeeper * | tk |
22 | cycle_last = cycle_last |
26 | cycle_last = cycle_last |
32 | vdso_ts = basetime[CLOCK_MONOTONIC] |
35 | nsec = xtime_nsec |
36 | nsec += nanoseconds << shift |
37 | When nsec >= NSEC_PER_SEC << shift cycle |
38 | nsec -= NSEC_PER_SEC << shift |
39 | sec++ |
47 | nsec += nanoseconds << shift |
50 | vdso_ts = basetime[CLOCK_BOOTTIME] |
53 | When nsec >= NSEC_PER_SEC << shift cycle |
54 | nsec -= NSEC_PER_SEC << shift |
55 | sec++ |
62 | nsec = xtime_nsec |
66 | sec = xtime_sec + tai_offset |
67 | nsec = xtime_nsec |
Name | Describe |
---|---|
update_vsyscall |
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 |