Home
last modified time | relevance | path

Searched refs:US_PER_S (Results 1 – 6 of 6) sorted by relevance

/developtools/profiler/device/plugins/hisysevent_plugin/test/unittest/
Dhisysevent_plugin_unittest.cpp36 const int US_PER_S = 1000000; variable
110 usleep(US_PER_S * DEFAULT_WAIT); // 5s
157 usleep(US_PER_S * DEFAULT_WAIT); // 5s
201 usleep(US_PER_S * DEFAULT_WAIT); // 5s
206 usleep(US_PER_S * DEFAULT_WAIT); // 5s
244 usleep(US_PER_S * DEFAULT_WAIT); // 5s
/developtools/profiler/device/services/ipc/src/
Dservice_entry.cpp54 const int US_PER_S = 1000000; variable
71 return ts.tv_sec * US_PER_S + ts.tv_nsec / NS_PER_US; in GetTimeUS()
/developtools/profiler/device/services/ipc/test/unittest/
Dservice_entry_test.cpp34 const int US_PER_S = 1000000; variable
86 long t1= ts.tv_sec * US_PER_S + ts.tv_nsec / NS_PER_US;
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp34 const int US_PER_S = 1000000; variable
169 eve->mutable_time()->set_tv_nsec((time_ms % MS_PER_S) * US_PER_S); in ParseHidumpInfo()
/developtools/profiler/device/plugins/hilog_plugin/test/unittest/
Dhilog_plugin_unittest.cpp39 const int US_PER_S = 1000000; variable
1055 usleep(US_PER_S * DEFAULT_WAIT); // 10s
1090 usleep(US_PER_S * DEFAULT_WAIT); // 10s
1131 usleep(US_PER_S * DEFAULT_WAIT); // 10s
/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dmemory_data_plugin_unittest.cpp35 const int US_PER_S = 1000000; variable
617 int timeuse = US_PER_S * (end.tv_sec - start.tv_sec) + end.tv_usec - start.tv_usec;
619 (double)timeuse / US_PER_S);