Under Linux kernel 2.6.35, getting current time(accuracy macrosenconds).
KernelAPIfunctionprototype:#includestructtimeval{__kernel_time_ttv_sec;/*seconds*/__kernel_suseconds_ttv_usec;/*microseconds*/};do_gettimeofday(structtimeval*tv)Code:unsignedlongtimeuse;structtimevalt