Searched refs:tv (Results 1 – 9 of 9) sorted by relevance
/developtools/profiler/device/base/test/unittest/ |
D | schedule_task_manager_test.cpp | 84 struct timeval tv; in __anon89dc5bfc0402() local 85 gettimeofday(&tv, nullptr); in __anon89dc5bfc0402() 93 struct timeval tv = { 0, 0 }; variable 94 gettimeofday(&tv, nullptr); 121 struct timeval tv; in __anon89dc5bfc0502() local 122 gettimeofday(&tv, nullptr); in __anon89dc5bfc0502() 131 struct timeval tv = { 0, 0 }; variable 132 gettimeofday(&tv, nullptr);
|
/developtools/hdc/src/common/ |
D | uart.cpp | 279 struct timeval tv; in ReadUartDev() local 280 tv.tv_sec = 0; in ReadUartDev() 283 tv.tv_usec = WaitResponseTimeOutMs * msTous; in ReadUartDev() 284 tv.tv_sec = tv.tv_usec / sTous; in ReadUartDev() 285 tv.tv_usec = tv.tv_usec % sTous; in ReadUartDev() 286 WRITE_LOG(LOG_DEBUG, "time = %d %d", tv.tv_sec, tv.tv_sec); in ReadUartDev() 292 ret = select(uart.devUartHandle + 1, &readFds, nullptr, nullptr, &tv); in ReadUartDev() 298 tv.tv_usec = ReadGiveUpTimeOutTimeMs * msTous; in ReadUartDev() 299 tv.tv_sec = tv.tv_usec / sTous; in ReadUartDev() 300 tv.tv_usec = tv.tv_usec % sTous; in ReadUartDev() [all …]
|
/developtools/profiler/device/plugins/native_hook/test/unittest/ |
D | stack_writer_test.cpp | 102 time_t tv = time(nullptr); in RandData() local 103 if (tv == -1) { in RandData() 104 tv = 1; in RandData() 106 unsigned int seed = (unsigned int)tv; in RandData()
|
/developtools/profiler/device/services/profiler_service/src/ |
D | trace_file_writer.cpp | 96 struct timeval tv; in GetCurrentTime() local 97 gettimeofday(&tv, NULL); in GetCurrentTime() 98 return std::to_string(tv.tv_sec * usMs + tv.tv_usec / usMs); in GetCurrentTime()
|
/developtools/profiler/host/smartperf/client/client_command/ |
D | sp_utils.cpp | 167 struct timeval tv; in GetCurTime() local 168 gettimeofday(&tv, nullptr); in GetCurTime() 169 long long timestamp = tv.tv_sec * 1000 + tv.tv_usec / 1000; in GetCurTime()
|
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/mediaQuery/ |
D | mediaQuery.css | 4 @media (device-type: tv) {
|
/developtools/profiler/host/smartperf/client/client_command_fps/ |
D | main.cpp | 204 struct timeval tv; in GetSurfaceFrame() local 205 gettimeofday(&tv, nullptr); in GetSurfaceFrame() 206 fpsInfo.currentFpsTime = tv.tv_sec * 1e3 + tv.tv_usec / 1e3; in GetSurfaceFrame()
|
/developtools/profiler/device/plugins/native_hook/test/ |
D | hook_test.c | 204 time_t tv = time(NULL); in ThreadFuncC() local 205 if (tv == -1) { in ThreadFuncC() 206 tv = 1; in ThreadFuncC() 208 unsigned int seed = (unsigned int)tv; in ThreadFuncC()
|
D | malloc_test.cpp | 217 time_t tv = time(nullptr); in ThreadFuncC() local 218 if (tv == -1) { in ThreadFuncC() 219 tv = 1; in ThreadFuncC() 222 unsigned int seed = static_cast<unsigned int>(tv); in ThreadFuncC()
|