Function report |
Source Code:kernel\time\ntp.c |
Create Date:2022-07-28 10:43:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:process_adjtimex_modes
Proto:static inline void process_adjtimex_modes(const struct __kernel_timex *txc, s32 *time_tai)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const struct __kernel_timex * | txc | |
s32 * | time_tai |
667 | If mode selector & select nanosecond resolution Then clock status bits: |= solution (0 = us, 1 = ns) (ro) |
670 | If mode selector & select microsecond resolution Then clock status bits: &= ~solution (0 = us, 1 = ns) (ro) |
673 | If mode selector & quency offset Then |
675 | quency offset (scaled nsecs/secs): = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(quency offset (scaled nsecs/secs): , MAXFREQ_SCALED) |
681 | If mode selector & maximum time error Then maximum error (usecs): = maximum error (usec) |
687 | If mode selector & pll time constant Then |
689 | If Not (clock status bits: & solution (0 = us, 1 = ns) (ro) ) Then pll time constant: += 4 |
695 | If mode selector & set TAI offset && pll time constant >= 0 && pll time constant <= MAX_TAI_OFFSET Then time_tai = pll time constant |
699 | If mode selector & ime offset Then ntp_update_offset( time offset (usec) ) |
702 | If mode selector & ick value Then USER_HZ period (usecs): = (modified) usecs between clock ticks |
705 | If mode selector & ( ick value | quency offset | ime offset ) Then Update (tick_length, tick_length_base, tick_nsec), based* on (tick_usec, ntp_tick_adj, time_freq): |
Name | Describe |
---|---|
__do_adjtimex | adjtimex mainly allows reading (and writing, if superuser) of* kernel time-keeping variables. used by xntpd. |
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 |