Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 12 of 12) sorted by relevance

/art/libartbase/base/
Dtime_utils.cc191 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { in InitTimeSpec() argument
194 clock_gettime(clock, ts); in InitTimeSpec()
199 ts->tv_sec = tv.tv_sec; in InitTimeSpec()
200 ts->tv_nsec = tv.tv_usec * 1000; in InitTimeSpec()
203 ts->tv_sec = 0; in InitTimeSpec()
204 ts->tv_nsec = 0; in InitTimeSpec()
207 int64_t end_sec = ts->tv_sec + ms / 1000; in InitTimeSpec()
219 ts->tv_sec = end_sec; in InitTimeSpec()
220 ts->tv_nsec = (ts->tv_nsec + (ms % 1000) * 1000000) + ns; in InitTimeSpec()
223 if (ts->tv_nsec >= 1000000000L) { in InitTimeSpec()
[all …]
Dtime_utils.h100 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
/art/test/921-hello-failure/src/
DUnmodifiable.java42 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/
DTest1919.java43 Thread[] ts = getEventThreads(); in getEvents() local
44 Event[] es = new Event[Math.min(ns.length, ts.length)]; in getEvents()
46 es[i] = new Event(ns[i], ts[i]); in getEvents()
/art/test/1931-monitor-events/src/art/
DMonitors.java95 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/
DMonitors.java95 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/1930-monitor-info/src/art/
DMonitors.java95 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/
DMonitors.java95 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/
DMonitors.java95 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/004-ThreadStress/src-art/
DMain.java651 final Main ts = threadStresses[r]; in runTest() local
653 final Main threadStress = ts; in runTest()
664 Thread thread = new Thread(ts, "Worker thread " + id); in runTest()
/art/runtime/base/
Dmutex.cc745 timespec ts; in ExclusiveLockWithTimeout() local
746 InitTimeSpec(true, CLOCK_REALTIME, ms, ns, &ts); in ExclusiveLockWithTimeout()
747 int result = pthread_rwlock_timedwrlock(&rwlock_, &ts); in ExclusiveLockWithTimeout()
1029 timespec ts; in TimedWait() local
1030 InitTimeSpec(true, clock, ms, ns, &ts); in TimedWait()
1031 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &guard_.mutex_, &ts)); in TimedWait()
/art/runtime/
Dthread.h193 static Thread* FromManagedThread(const ScopedObjectAccessAlreadyRunnable& ts,
197 static Thread* FromManagedThread(const ScopedObjectAccessAlreadyRunnable& ts, jobject thread)