/art/libartbase/base/ |
D | time_utils.cc | 225 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { in InitTimeSpec() argument 228 clock_gettime(clock, ts); in InitTimeSpec() 233 ts->tv_sec = tv.tv_sec; in InitTimeSpec() 234 ts->tv_nsec = tv.tv_usec * 1000; in InitTimeSpec() 237 ts->tv_sec = 0; in InitTimeSpec() 238 ts->tv_nsec = 0; in InitTimeSpec() 241 int64_t end_sec = ts->tv_sec + ms / 1000; in InitTimeSpec() 253 ts->tv_sec = end_sec; in InitTimeSpec() 254 ts->tv_nsec = (ts->tv_nsec + (ms % 1000) * 1000000) + ns; in InitTimeSpec() 257 if (ts->tv_nsec >= 1000000000L) { in InitTimeSpec() [all …]
|
D | array_slice.h | 175 std::ostream& operator<<(std::ostream& os, const ArraySlice<T>& ts) { 178 for (const T& t : ts) {
|
D | time_utils.h | 124 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
|
D | array_ref.h | 204 std::ostream& operator<<(std::ostream& os, const ArrayRef<T>& ts) { 207 for (const T& t : ts) {
|
/art/test/921-hello-failure/src/ |
D | Unmodifiable.java | 42 public static void doTest(Transform[] ts) { in doTest() argument 43 ts[0].sayHi("Unmodifiable"); in doTest() 50 ts[0].sayHi("Unmodifiable"); in doTest()
|
/art/test/1919-vminit-thread-start-timing/src/art/ |
D | Test1919.java | 53 Thread[] ts = getEventThreads(); 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/test/1930-monitor-info/src/art/ |
D | Monitors.java | 95 private static String toNameList(Thread[] ts) { in toNameList() argument 96 return Arrays.toString(Arrays.stream(ts).map((Thread t) -> t.getName()).toArray()); in toNameList()
|
/art/test/1934-jvmti-signal-thread/src/art/ |
D | Monitors.java | 95 private static String toNameList(Thread[] ts) { in toNameList() argument 96 return Arrays.toString(Arrays.stream(ts).map((Thread t) -> t.getName()).toArray()); in toNameList()
|
/art/test/1931-monitor-events/src/art/ |
D | Monitors.java | 95 private static String toNameList(Thread[] ts) { in toNameList() argument 96 return Arrays.toString(Arrays.stream(ts).map((Thread t) -> t.getName()).toArray()); in toNameList()
|
/art/test/jvmti-common/ |
D | Monitors.java | 95 private static String toNameList(Thread[] ts) { in toNameList() argument 96 return Arrays.toString(Arrays.stream(ts).map((Thread t) -> t.getName()).toArray()); in toNameList()
|
/art/test/1933-monitor-current-contended/src/art/ |
D | Monitors.java | 95 private static String toNameList(Thread[] ts) { in toNameList() argument 96 return Arrays.toString(Arrays.stream(ts).map((Thread t) -> t.getName()).toArray()); in toNameList()
|
/art/test/1932-monitor-events-misc/src/art/ |
D | Monitors.java | 95 private static String toNameList(Thread[] ts) { in toNameList() argument 96 return Arrays.toString(Arrays.stream(ts).map((Thread t) -> t.getName()).toArray()); in toNameList()
|
/art/runtime/base/ |
D | mutex.cc | 911 timespec ts; in ExclusiveLockWithTimeout() local 912 InitTimeSpec(true, CLOCK_REALTIME, ms, ns, &ts); in ExclusiveLockWithTimeout() 913 int result = pthread_rwlock_timedwrlock(&rwlock_, &ts); in ExclusiveLockWithTimeout() 1183 timespec ts; in TimedWait() local 1184 InitTimeSpec(true, clock, ms, ns, &ts); in TimedWait() 1186 while ((rc = pthread_cond_timedwait(&cond_, &guard_.mutex_, &ts)) == EINTR) { in TimedWait()
|
/art/test/004-ThreadStress/src-art/ |
D | Main.java | 669 final Main ts = threadStresses[r]; in runTest() local 671 final Main threadStress = ts; in runTest() 682 Thread thread = new Thread(ts, "Worker thread " + id); in runTest()
|
/art/perfetto_hprof/ |
D | perfetto_hprof.cc | 161 struct timespec ts = {}; in GetCurrentBootClockNs() local 162 if (clock_gettime(CLOCK_BOOTTIME, &ts) != 0) { in GetCurrentBootClockNs() 165 return ts.tv_sec * 1000000000LL + ts.tv_nsec; in GetCurrentBootClockNs() 1012 uint64_t ts = GetCurrentBootClockNs(); in ForkAndRun() local 1013 child_runnable(parent_pid, ts); in ForkAndRun()
|
/art/runtime/ |
D | thread.h | 310 static Thread* FromManagedThread(const ScopedObjectAccessAlreadyRunnable& ts, jobject thread)
|