Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 22 of 22) sorted by relevance

/art/test/053-wait-some/
Dexpected-stdout.txt2 Waiting for 200ms...
3 Waiting for 500ms...
4 Waiting for 1000ms...
5 Waiting for 2000ms...
6 Waiting for 3500ms...
7 Waiting for 8000ms...
/art/libartbase/base/
Dtime_utils.h86 static constexpr uint64_t MsToNs(uint64_t ms) { in MsToNs() argument
87 return ms * 1000 * 1000; in MsToNs()
91 static constexpr uint64_t MsToUs(uint64_t ms) { in MsToUs() argument
92 return ms * 1000; in MsToUs()
124 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
Dtime_utils.cc229 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { in InitTimeSpec() argument
245 int64_t end_sec = ts->tv_sec + ms / 1000; in InitTimeSpec()
252 if (ms != int64_max && ms != int64_max / (1000 * 1000)) { in InitTimeSpec()
258 ts->tv_nsec = (ts->tv_nsec + (ms % 1000) * 1000000) + ns; in InitTimeSpec()
/art/test/155-java-set-resolved-type/src/
DMain.java43 Method[] ms = tpc.getDeclaredMethods(); in main() local
44 if (ms == null || ms.length != 1) { throw new Error("Unexpected methods"); }; in main()
50 ms[0].getParameterTypes(); in main()
/art/test/1336-short-finalizer-timeout/src/
DMain.java64 public static void snooze(int ms) { in snooze() argument
66 Thread.sleep(ms); in snooze()
68 System.out.println("Snooze(" + ms + ") interrupted"); in snooze()
/art/test/030-bad-finalizer/src/
DMain.java74 public static void snooze(int ms) { in snooze() argument
76 Thread.sleep(ms); in snooze()
/art/test/079-phantom/src/
DMain.java23 public static void sleep(int ms) { in sleep() argument
25 Thread.sleep(ms); in sleep()
/art/tools/
Drun-libjdwp-tests.sh55 elif [[ $1 == --test-timeout-ms ]]; then
112 args+=(--test-timeout-ms)
Drun-jdwp-tests.sh163 elif [[ $1 == --test-timeout-ms ]]; then
/art/runtime/native/
Djava_lang_Object.cc46 static void Object_waitJI(JNIEnv* env, jobject java_this, jlong ms, jint ns) { in Object_waitJI() argument
48 soa.Decode<mirror::Object>(java_this)->Wait(soa.Self(), ms, ns); in Object_waitJI()
Djava_lang_Thread.cc181 static void Thread_sleep(JNIEnv* env, jclass, jobject java_lock, jlong ms, jint ns) { in Thread_sleep() argument
184 Monitor::Wait(Thread::Current(), lock.Ptr(), ms, ns, true, kSleeping); in Thread_sleep()
/art/test/109-suspend-check/src/
DMain.java54 public static void sleep(int ms) { in sleep() argument
56 Thread.sleep(ms); in sleep()
/art/test/444-checker-nce/src/
DMain.java56 Main[] ms = new Main[1]; in newArrayRemoveTest() local
57 return ms[0]; in newArrayRemoveTest()
/art/test/036-finalizer/src/
DMain.java31 private static void snooze(int ms) { in snooze() argument
33 Thread.sleep(ms); in snooze()
/art/test/130-hprof/src/
DMain.java177 public static void sleep(long ms) { in sleep() argument
179 Thread.sleep(ms); in sleep()
/art/test/074-gc-thrash/src/
DMain.java136 public static void sleep(int ms) { in sleep() argument
138 Thread.sleep(ms); in sleep()
/art/runtime/base/
Dmutex.cc834 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout() argument
839 InitTimeSpec(true, CLOCK_MONOTONIC, ms, ns, &end_abs_ts); in ExclusiveLockWithTimeout()
877 InitTimeSpec(true, CLOCK_REALTIME, ms, ns, &ts); in ExclusiveLockWithTimeout()
1107 bool ConditionVariable::TimedWait(Thread* self, int64_t ms, int32_t ns) { in TimedWait() argument
1115 InitTimeSpec(false, CLOCK_REALTIME, ms, ns, &rel_ts); in TimedWait()
1149 InitTimeSpec(true, clock, ms, ns, &ts); in TimedWait()
Dmutex.h333 bool ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns)
468 bool TimedWait(Thread* self, int64_t ms, int32_t ns) NO_THREAD_SAFETY_ANALYSIS;
/art/runtime/
Dmonitor.cc827 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait() argument
840 if (why == kTimedWaiting && (ms == 0 && ns == 0)) { in Wait()
845 if (ms < 0 || ns < 0 || ns > 999999) { in Wait()
847 "timeout arguments out of range: ms=%" PRId64 " ns=%d", ms, ns); in Wait()
907 timed_out = self->GetWaitConditionVariable()->TimedWait(self, ms, ns); in Wait()
1273 int64_t ms, in Wait() argument
1282 Runtime::Current()->GetRuntimeCallbacks()->ObjectWaitStart(h_obj, ms); in Wait()
1318 mon->Wait(self, ms, ns, interruptShouldThrow, why); in Wait()
Dmonitor.h107 int64_t ms,
/art/tools/ahat/etc/
Dhprofdump.py141 s, ms = divmod(timestamp, 1000) variable
142 print "Date: %s.%03d" % (time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(s)), ms)
/art/runtime/mirror/
Dobject-inl.h102 inline void Object::Wait(Thread* self, int64_t ms, int32_t ns) { in Wait() argument
103 Monitor::Wait(self, this, ms, ns, true, kTimedWaiting); in Wait()