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/1903-suspend-self/src/art/
DTest1903.java43 public static void waitFor(long millis) { in waitFor() argument
45 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/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.cc61 CreateTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in CreateTask() argument
62 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in CreateTask()
135 UseTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in UseTask() argument
136 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in UseTask()
174 InterruptTask(MonitorTest* monitor_test, uint64_t initial_sleep, uint64_t millis) : in InterruptTask() argument
175 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis) {} in InterruptTask()
Druntime_callbacks_test.cc471 void ObjectWaitStart(Handle<mirror::Object> obj, int64_t millis ATTRIBUTE_UNUSED) 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.java171 final long millis = 60l * 60l * 1000l; in testTimedWait() local
172 Monitors.LockController controller1 = new Monitors.LockController(lk, millis); in testTimedWait()
188 final long millis = 10l * 1000l; in testTimedWaitTimeout() local
189 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.h50 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis);
Dti_monitor.cc282 jlong millis) { in RawMonitorWait() argument
292 bool result = (millis > 0) in RawMonitorWait()
293 ? monitor->Wait(self, static_cast<uint64_t>(millis)) in RawMonitorWait()
DOpenjdkJvmTi.cc987 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis) { in RawMonitorWait() argument
989 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()