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.h77 static constexpr inline uint64_t MsToNs(uint64_t ms) { in MsToNs() argument
78 return ms * 1000 * 1000; in MsToNs()
82 static constexpr inline uint64_t MsToUs(uint64_t ms) { in MsToUs() argument
83 return ms * 1000; in MsToUs()
102 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
Dtime_utils.cc224 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { in InitTimeSpec() argument
240 int64_t end_sec = ts->tv_sec + ms / 1000; in InitTimeSpec()
247 if (ms != int64_max && ms != int64_max / (1000 * 1000)) { in InitTimeSpec()
253 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.sh54 elif [[ $1 == --test-timeout-ms ]]; then
108 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.cc188 static void Thread_sleep(JNIEnv* env, jclass, jobject java_lock, jlong ms, jint ns) { in Thread_sleep() argument
191 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.cc756 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout() argument
761 InitTimeSpec(true, CLOCK_MONOTONIC, ms, ns, &end_abs_ts); in ExclusiveLockWithTimeout()
799 InitTimeSpec(true, CLOCK_REALTIME, ms, ns, &ts); in ExclusiveLockWithTimeout()
1029 bool ConditionVariable::TimedWait(Thread* self, int64_t ms, int32_t ns) { in TimedWait() argument
1037 InitTimeSpec(false, CLOCK_REALTIME, ms, ns, &rel_ts); in TimedWait()
1071 InitTimeSpec(true, clock, ms, ns, &ts); in TimedWait()
Dmutex.h317 bool ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns)
452 bool TimedWait(Thread* self, int64_t ms, int32_t ns) NO_THREAD_SAFETY_ANALYSIS;
/art/runtime/
Dmonitor.cc823 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait() argument
836 if (why == kTimedWaiting && (ms == 0 && ns == 0)) { in Wait()
841 if (ms < 0 || ns < 0 || ns > 999999) { in Wait()
843 "timeout arguments out of range: ms=%" PRId64 " ns=%d", ms, ns); in Wait()
903 timed_out = self->GetWaitConditionVariable()->TimedWait(self, ms, ns); in Wait()
1285 int64_t ms, in Wait() argument
1294 Runtime::Current()->GetRuntimeCallbacks()->ObjectWaitStart(h_obj, ms); in Wait()
1330 mon->Wait(self, ms, ns, interruptShouldThrow, why); in Wait()
Dmonitor.h101 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()