Home
last modified time | relevance | path

Searched refs:millis (Results 1 – 16 of 16) sorted by relevance

/art/test/002-sleep/src/
DMain.java3 int millis = 1000; in main() local
6 millis = Integer.parseInt(args[1]); in main()
9 System.out.println("Sleeping " + millis + " msec..."); in main()
12 Thread.sleep(millis); in main()
14 long offBy = Math.abs(elapsed - millis); in main()
/art/test/1907-suspend-list-self-twice/src/art/
DTest1907.java24 public static void waitFor(long millis) { in waitFor() argument
26 lock.wait(millis); in waitFor()
/art/test/1906-suspend-list-me-first/src/art/
DTest1906.java25 public static void waitFor(long millis) { in waitFor() argument
27 lock.wait(millis); in waitFor()
/art/test/1903-suspend-self/src/art/
DTest1903.java43 public static void waitFor(long millis) { in waitFor() argument
45 lock.wait(millis); in waitFor()
/art/test/1904-double-suspend/src/art/
DTest1904.java36 public static void waitFor(long millis) { in waitFor() argument
38 lock.wait(millis); in waitFor()
/art/test/1902-suspend/src/art/
DTest1902.java36 public static void waitFor(long millis) { in waitFor() argument
38 lock.wait(millis); in waitFor()
/art/runtime/
Dmonitor_test.cc62 CreateTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in CreateTask() argument
63 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in CreateTask()
136 UseTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in UseTask() argument
137 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in UseTask()
175 InterruptTask(MonitorTest* monitor_test, uint64_t initial_sleep, uint64_t millis) : in InterruptTask() argument
176 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis) {} in InterruptTask()
Druntime_callbacks_test.cc470 void ObjectWaitStart(Handle<mirror::Object> obj, int64_t millis ATTRIBUTE_UNUSED) override in ObjectWaitStart()
/art/test/923-monitors/
Dmonitors.cc69 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jlong l, jlong millis) { in Java_art_Test923_rawMonitorWait() argument
70 jvmtiError result = jvmti_env->RawMonitorWait(LongToMonitor(l), millis); in Java_art_Test923_rawMonitorWait()
/art/test/1931-monitor-events/src/art/
DTest1931.java183 final long millis = 60l * 60l * 1000l; in testTimedWait() local
184 Monitors.LockController controller1 = new Monitors.LockController(lk, millis); in testTimedWait()
200 final long millis = 10l * 1000l; in testTimedWaitTimeout() local
201 Monitors.LockController controller1 = new Monitors.LockController(lk, millis); in testTimedWaitTimeout()
/art/test/923-monitors/src/art/
DTest923.java229 private static void rawWait(long id, long millis) { in rawWait() argument
232 rawMonitorWait(id, millis); in rawWait()
295 private static native void rawMonitorWait(long id, long millis); in rawMonitorWait() argument
/art/openjdkjvmti/
Dti_monitor.h52 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis);
Dti_monitor.cc299 jlong millis) { in RawMonitorWait() argument
309 bool result = (millis > 0) in RawMonitorWait()
310 ? monitor->Wait(self, static_cast<uint64_t>(millis)) in RawMonitorWait()
DOpenjdkJvmTi.cc969 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis) { in RawMonitorWait() argument
971 return MonitorUtil::RawMonitorWait(env, monitor, millis); in RawMonitorWait()
/art/openjdkjvm/
DOpenjdkJvm.cc366 jobject java_lock, jlong millis) { in JVM_Sleep() argument
369 art::Monitor::Wait(art::Thread::Current(), lock.Ptr(), millis, 0, true, art::kSleeping); in JVM_Sleep()
/art/openjdkjvmti/include/
Djvmti.h1196 jlong millis);
2372 jlong millis) { in RawMonitorWait()
2373 return functions->RawMonitorWait(this, monitor, millis); in RawMonitorWait()