求助~~谢谢大家了~~~
请问timer.c中update_wall_time_one_tick函数的最后这几行是什么意思?小弟实在搞不懂,希望高手指点一下~~~~ 8O8O
if (time_phase <= -FINEUSEC) {
long ltemp = -time_phase >> SHIFT_SCALE;
time_phase += ltemp << SHIFT_SCALE;
xtime.tv_usec -= ltemp;
}
else if (time_phase >= FINEUSEC) {
long ltemp = time_phase >> SHIFT_SCALE;
time_phase -= ltemp << SHIFT_SCALE;
xtime.tv_usec += ltemp;
}
页:
[1]