Searched refs:time_constant (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | ntp.c | 66 static long time_constant = 2; variable 130 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk() 212 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk() 335 if (unlikely(secs > 1 << (SHIFT_PLL + 1 + time_constant))) in ntp_update_offset() 336 secs = 1 << (SHIFT_PLL + 1 + time_constant); in ntp_update_offset() 339 (NTP_SCALE_SHIFT - 2 * (SHIFT_PLL + 2 + time_constant)); in ntp_update_offset() 688 time_constant = txc->constant; in process_adjtimex_modes() 690 time_constant += 4; in process_adjtimex_modes() 691 time_constant = min(time_constant, (long)MAXTC); in process_adjtimex_modes() 692 time_constant = max(time_constant, 0l); in process_adjtimex_modes() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | stats.c | 24 double time_constant, scale; member 39 p->time_constant = .05; in getopts() 44 GETOPT_NUMERIC(optstate, 'w', time_constant , .01 , 10) in getopts() 58 p->mult = exp((-1 / p->time_constant / effp->in_signal.rate)); in start() 59 p->tc_samples = 5 * p->time_constant * effp->in_signal.rate + .5; in start() 286 fprintf(stderr, "\nWindow s %9.3f", p->time_constant); in stop()
|