/art/libartbase/base/ |
D | time_utils.h | 71 static constexpr inline uint64_t NsToMs(uint64_t ns) { in NsToMs() argument 72 return ns / 1000 / 1000; in NsToMs() 97 void NanoSleep(uint64_t ns); 101 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
|
D | stats.h | 37 void AddNanoSeconds(double ns, size_t count = 1) { Add(ns / 1000000000.0, count); }
|
D | time_utils.cc | 210 void NanoSleep(uint64_t ns) { in NanoSleep() argument 212 tm.tv_sec = ns / MsToNs(1000); in NanoSleep() 213 tm.tv_nsec = ns - static_cast<uint64_t>(tm.tv_sec) * MsToNs(1000); in NanoSleep() 217 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { in InitTimeSpec() argument 246 ts->tv_nsec = (ts->tv_nsec + (ms % 1000) * 1000000) + ns; in InitTimeSpec()
|
/art/test/1919-vminit-thread-start-timing/src/art/ |
D | Test1919.java | 52 String[] ns = getEventNames(); in getEvents() local 54 Event[] es = new Event[Math.min(ns.length, ts.length)]; in getEvents() 56 es[i] = new Event(ns[i], ts[i]); in getEvents()
|
/art/runtime/native/ |
D | java_lang_Object.cc | 44 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()
|
D | java_lang_Thread.cc | 181 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/964-default-iface-init-gen/util-src/ |
D | generate_java.py | 371 ns = clone_all(supers) 372 selected = sorted(set(dump_tree(ns)) - set(ns))[i] 373 yield TestClass(tuple([selected] + list(ns)))
|
/art/build/apex/ |
D | com.android.runtime.pem | 24 TIKBIdV5zkr2rvjor/WvPnoWUOBCmxh8zaAZhReE3RitNjtEVz/ns/x8vyyMRdPA
|
/art/runtime/base/ |
D | mutex.cc | 644 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()
|
D | mutex.h | 291 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/ |
D | monitor.cc | 779 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() 1253 int32_t ns, in Wait() argument 1297 mon->Wait(self, ms, ns, interruptShouldThrow, why); in Wait()
|
D | monitor.h | 101 int32_t ns,
|
/art/runtime/mirror/ |
D | object-inl.h | 102 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()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 646 … android::native_bridge_namespace_t* ns ATTRIBUTE_UNUSED) { in native_bridge_loadLibraryExt()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 613 art::ScopedAssertNoThreadSuspension ns("No thread suspension during thread stack walking"); in FindAndAllocateObsoleteMethods() local
|