/developtools/profiler/hidebug/frameworks/native/src/ |
H A D | hidebug_util.cpp | 25 struct timespec times = {0, 0}; in GetElapsedNanoSecondsSinceBoot() local 26 clock_gettime(CLOCK_BOOTTIME, ×); in GetElapsedNanoSecondsSinceBoot() 28 return times.tv_sec * secondToNanosecond + times.tv_nsec; in GetElapsedNanoSecondsSinceBoot() 33 struct timespec times = {0, 0}; in GetNanoSecondsTimestamp() local 34 clock_gettime(CLOCK_REALTIME, ×); in GetNanoSecondsTimestamp() 36 return times.tv_sec * secondToNanosecond + times.tv_nsec; in GetNanoSecondsTimestamp()
|
/developtools/profiler/timestamps/ |
H A D | timestamps.cpp | 32 std::vector<ClockTime> times = { in main() local 43 for (auto& time : times) { in main() 47 for (auto& time : times) { in main()
|
/developtools/profiler/device/plugins/native_hook/test/ |
H A D | hook_test.cpp | 104 int times = *static_cast<int*>(param); in ThreadFuncCpp() local 107 name = name + std::to_string(times); in ThreadFuncCpp() 111 while (idx < times) { in ThreadFuncCpp() 114 printf("thread %ld malloc %d times\n", tid, idx); in ThreadFuncCpp() 129 int times = *static_cast<int*>(param); in ThreadFuncCppHook() local 132 name = name + std::to_string(times); in ThreadFuncCppHook() 140 while (idx < times) { in ThreadFuncCppHook() 157 printf("thread %ld malloc %d times\n", tid, idx); in ThreadFuncCppHook() 234 printf("Test start %d thread, malloc %d times\n", threadNum, mallocTimes);
|
/developtools/smartperf_host/trace_streamer/src/base/ |
H A D | index_map.cpp | 139 void IndexMap::FilterTS(unsigned char op, sqlite3_value *argv, const std::deque<InternalTime> ×) in FilterTS() argument 145 IntersectabcEqual(times, v, getValue); in FilterTS() 151 IntersectGreaterEqual(times, v, getValue); in FilterTS() 158 IntersectLessEqual(times, v, getValue); in FilterTS() 161 RemoveNullElements(times, v); in FilterTS()
|
H A D | index_map.h | 40 void FilterTS(unsigned char op, sqlite3_value *argv, const std::deque<InternalTime> ×);
|
/developtools/integration_verification/DeployDevice/src/core/ |
H A D | run.py | 154 times = 0 156 while times < 3: 158 times += 1
|
/developtools/profiler/host/smartperf/client/client_command/ |
H A D | ByTrace.cpp | 52 times++; in CheckFpsJitters() 55 if (curNum <= sum && currentTrigger < 0 && times > two) { in CheckFpsJitters()
|
H A D | profiler_fps.cpp | 182 long long times = 120; in PrintSections() local 196 if (fpsSectionsInt > static_cast<int>(times)) { in PrintSections() 197 fpsSectionsInt = static_cast<int>(times); in PrintSections()
|
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/table/ |
H A D | demo_table_base.cpp | 217 void DemoTableBase::Cursor::DemoFilterTS(unsigned char op, sqlite3_value *argv, const std::deque<InternalTime> ×) in DemoFilterTS() argument 223 demoIndexMap_->IntersectabcEqual(times, demoArgv, getDemoValue); in DemoFilterTS() 228 demoIndexMap_->IntersectGreaterEqual(times, demoArgv, getDemoValue); in DemoFilterTS() 234 demoIndexMap_->IntersectLessEqual(times, demoArgv, getDemoValue); in DemoFilterTS() 237 demoIndexMap_->RemoveNullElements(times, demoArgv); in DemoFilterTS()
|
H A D | demo_table_base.h | 74 virtual void DemoFilterTS(unsigned char op, sqlite3_value *argv, const std::deque<InternalTime> ×);
|
/developtools/hapsigner/tools/ |
H A D | auto_test.py | 271 test_result[case] = {'times': 0, 'total_cost': 0, 'success': 0, 'fail': 0} 274 case_result['times'] = case_result['times'] + 1 498 times = rv['times'] variable 499 if times != 0: 500 print("Case {}, run times: {}, avg cost: {}s, total success: {}, total fail: {}".format(rk, times, round( 501 rv['total_cost'] / times, 2), rv['success'], rv['fail']))
|
/developtools/profiler/host/smartperf/client/client_command/include/ |
H A D | ByTrace.h | 57 mutable int times = 0; member in OHOS::SmartPerf::ByTrace
|
/developtools/smartperf_host/trace_streamer/src/table/base/ |
H A D | table_base.cpp | 270 void TableBase::Cursor::FilterTS(unsigned char op, sqlite3_value *argv, const std::deque<InternalTime> ×) in FilterTS() argument 276 indexMap_->IntersectabcEqual(times, v, getValue); in FilterTS() 281 indexMap_->IntersectGreaterEqual(times, v, getValue); in FilterTS() 287 indexMap_->IntersectLessEqual(times, v, getValue); in FilterTS() 291 indexMap_->RemoveNullElements(times, v); in FilterTS()
|
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/ |
H A D | liteOsUpgrade_RK3568_app.py | 461 times = 0 463 while times < 3: 465 times += 1
|
H A D | liteOsUpgrade_linux_app.py | 444 times = 0 445 while times < 3: 454 times += 1
|
/developtools/hdc/scripts/ |
H A D | hdc_normal_test.py | 337 times=10) 346 times=10) 397 help='test times')
|
H A D | dev_hdc_test.py | 931 def check_cmd_time(cmd, pattern, duration, times): 932 if times < 1: 933 print("times should be bigger than 0.") 942 for i in range(times): 963 timecost = int(end_time - start_time) / times
|
/developtools/smartperf_host/trace_streamer/src/metrics/ |
H A D | metrics.cpp | 95 auto times = base::SplitStringToVec(jMessage.at("values")[i].at(timesIndex), ","); in InitMemoryUnAggStrategy() local 102 typeItem.ts = atoll(times.at(index).c_str()); in InitMemoryUnAggStrategy()
|
/developtools/smartperf_host/trace_streamer/src/table/base/include/ |
H A D | table_base.h | 64 virtual void FilterTS(unsigned char op, sqlite3_value *argv, const std::deque<InternalTime> ×);
|
/developtools/hdc/src/common/ |
H A D | base.cpp | 681 // if MAX_SIZE_IOBUF==5k,bufMaxSize at least 40k. It must be set to io 8 times is more appropriate, in SetTcpOptions() 742 if (closeRetry > 2) { // 2:try 2 times close,the 3rd try shows uv loop cannot close. in TryCloseLoop() 783 if (closeRetry > 2) { // 2:try 2 times close,the 3rd try shows uv loop cannot close. in TryCloseChildLoop() 950 struct timespec times = { 0, 0 }; in GetRuntimeMSec() local 952 clock_gettime(CLOCK_MONOTONIC, ×); in GetRuntimeMSec() 953 time = times.tv_sec * TIME_BASE + times.tv_nsec / (TIME_BASE * TIME_BASE); in GetRuntimeMSec()
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 6942 u32 times[7]; member 154432 __be32 times[3]; global() member [all...] |