change the filename to kdebug.c in comments
use new timer library

Currently support below function:

timer.s(N, func)
timer.sec(N, func)
timer.ms(N, func)
timer.msec(N, func)
timer.us(N, func)
timer.usec(N, func)
timer.ns(N, func)
timer.nsec(N, func)