Hi All: In the program of IPNC csl_sysLiinuxDrv.c(framework/csl/kermod/src/system), I find the function:
Uint32 CSL_sysGetCurTime()
{
struct timeval tv;
do_gettimeofday(&tv);
return (tv.tv_sec*1000) + (tv.tv_usec + 500) / 1000;
}
And the return value of this function is overflow to unsigned int datatype. so I cannot get timestamp correctly in usermod.
I don't understand this function. How can i get timestamp of capture buffer? Thanks very much!