Home
last modified time | relevance | path

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

/art/test/053-wait-some/
Dexpected.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.h76 static constexpr inline uint64_t MsToNs(uint64_t ms) { in MsToNs() argument
77 return ms * 1000 * 1000; in MsToNs()
81 static constexpr inline uint64_t MsToUs(uint64_t ms) { in MsToUs() argument
82 return ms * 1000; in MsToUs()
101 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
Dtime_utils.cc217 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { in InitTimeSpec() argument
233 int64_t end_sec = ts->tv_sec + ms / 1000; in InitTimeSpec()
240 if (ms != int64_max && ms != int64_max / (1000 * 1000)) { in InitTimeSpec()
246 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/tools/
Drun-libjdwp-tests.sh43 elif [[ $1 == --test-timeout-ms ]]; then
93 args+=(--test-timeout-ms)
Drun-jdwp-tests.sh151 elif [[ $1 == --test-timeout-ms ]]; then
/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/runtime/native/
Djava_lang_Object.cc44 static void Object_waitJI(JNIEnv* env, jobject java_this, jlong ms, jint ns) { in Object_waitJI() argument
46 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.cc644 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout() argument
649 InitTimeSpec(true, CLOCK_MONOTONIC, ms, ns, &end_abs_ts); in ExclusiveLockWithTimeout()
684 InitTimeSpec(true, CLOCK_REALTIME, ms, ns, &ts); in ExclusiveLockWithTimeout()
924 bool ConditionVariable::TimedWait(Thread* self, int64_t ms, int32_t ns) { in TimedWait() argument
932 InitTimeSpec(false, CLOCK_REALTIME, ms, ns, &rel_ts); in TimedWait()
965 InitTimeSpec(true, clock, ms, ns, &ts); in TimedWait()
Dmutex.h291 bool ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns)
424 bool TimedWait(Thread* self, int64_t ms, int32_t ns) NO_THREAD_SAFETY_ANALYSIS;
/art/runtime/
Dmonitor.cc779 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait() argument
795 if (why == kTimedWaiting && (ms == 0 && ns == 0)) { in Wait()
800 if (ms < 0 || ns < 0 || ns > 999999) { in Wait()
803 "timeout arguments out of range: ms=%" PRId64 " ns=%d", ms, ns); in Wait()
864 timed_out = self->GetWaitConditionVariable()->TimedWait(self, ms, ns); in Wait()
1252 int64_t ms, in Wait() argument
1261 Runtime::Current()->GetRuntimeCallbacks()->ObjectWaitStart(h_obj, ms); in Wait()
1297 mon->Wait(self, ms, ns, interruptShouldThrow, why); in Wait()
Dmonitor.h100 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()