/external/ltp/testcases/kernel/syscalls/poll/ |
poll02.c | 50 long long elapsed_ms, sleep_ms = 100; local 80 elapsed_ms = tst_timer_elapsed_ms(); 82 if (elapsed_ms < sleep_ms) { 85 elapsed_ms, sleep_ms); 89 if (elapsed_ms - sleep_ms > treshold) { 92 elapsed_ms, sleep_ms, treshold); 97 elapsed_ms, sleep_ms, treshold);
|
/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
epoll_wait02.c | 52 long long elapsed_ms, sleep_ms = 100; local 87 elapsed_ms = tst_timer_elapsed_ms(); 89 if (elapsed_ms < sleep_ms) { 91 "expected %llims", elapsed_ms, sleep_ms); 95 if (elapsed_ms - sleep_ms > threshold) { 98 elapsed_ms, sleep_ms, threshold); 103 "threshold %i", elapsed_ms, sleep_ms, threshold);
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
clock_nanosleep01.c | 120 long long elapsed_ms, expect_ms, remain_ms = 0; local 133 elapsed_ms = tst_timer_elapsed_ms(); 148 if (!TEST_RETURN && (elapsed_ms < expect_ms - MAX_MSEC_DIFF 149 || elapsed_ms > expect_ms + MAX_MSEC_DIFF)) { 153 elapsed_ms, expect_ms, MAX_MSEC_DIFF);
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl33.c | 209 long long elapsed_ms; local 237 elapsed_ms = tst_timer_elapsed_ms(); 239 if (elapsed_ms < MIN_TIME_LIMIT * 1000) { 245 test_cases[i].desc, elapsed_ms, MIN_TIME_LIMIT);
|
/external/webrtc/webrtc/system_wrappers/source/ |
clock.cc | 129 LARGE_INTEGER elapsed_ms; local 139 elapsed_ms.HighPart = num_timer_wraps_; 141 elapsed_ms.LowPart = t; 142 elapsed_ms.QuadPart = elapsed_ms.QuadPart - ref_point_.counter_ms.QuadPart; 150 static_cast<ULONGLONG>((elapsed_ms.QuadPart) * 1000 * 10);
|
/external/webrtc/webrtc/video/ |
overuse_frame_detector.h | 107 void AddProcessingTime(int elapsed_ms) EXCLUSIVE_LOCKS_REQUIRED(crit_);
|
overuse_frame_detector.cc | 270 void OveruseFrameDetector::AddProcessingTime(int elapsed_ms) { 274 usage_->AddSample(elapsed_ms, diff_ms);
|
/external/curl/lib/ |
hostip.c | 692 unsigned long elapsed_ms = Curl_tvdiff(Curl_tvnow(), conn->created); local 695 unsigned long alarm_set = prev_alarm - elapsed_ms/1000;
|