Home
last modified time | relevance | path

Searched refs:timeUse (Results 1 – 3 of 3) sorted by relevance

/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c206 double timeUse; in SpeedReadThread() local
218timeUse = (double)(timeTmp.tv_sec - g_readTimeStart.tv_sec) + (double)timeTmp.tv_usec / usec - in SpeedReadThread()
220 g_readSpeed = (float)((double)g_readCnt / k / k / timeUse); in SpeedReadThread()
222timeUse = (double)(g_readTimeEnd.tv_sec - g_readTimeStart.tv_sec) + (double)g_readTimeEnd.tv_usec … in SpeedReadThread()
224 HDF_LOGD("timeUse = %lf\n", timeUse); in SpeedReadThread()
225 g_readSpeed = (float)((double)g_readCnt / k / k / timeUse); in SpeedReadThread()
539 double timeUse; in SpeedThread() local
570 timeUse = (double)(timeTmp.tv_sec - g_timeStart.tv_sec) + (double)timeTmp.tv_usec / usec - in SpeedThread()
572 g_speed = (float)((double)g_writeCnt / k / k / timeUse); in SpeedThread()
574 timeUse = (double)(g_timeEnd.tv_sec - g_timeStart.tv_sec) + (double)g_timeEnd.tv_usec / usec - in SpeedThread()
[all …]
/drivers/peripheral/camera/test/ut/v4l2/
Dtest_camera_base.cpp499 float timeUse = 0; in CalTime() local
500 timeUse = (end.tv_sec - start.tv_sec) * 1000000 + (end.tv_usec - start.tv_usec); // 1000000:time in CalTime()
501 return timeUse; in CalTime()
/drivers/peripheral/camera/test/ut/usb_camera/
Dtest_camera_base.cpp516 float timeUse = 0; in CalTime() local
517 timeUse = (end.tv_sec - start.tv_sec) * 1000000 + (end.tv_usec - start.tv_usec); // 1000000:time in CalTime()
518 return timeUse; in CalTime()