Searched refs:tv (Results 1 – 5 of 5) sorted by relevance
/art/test/004-UnsafeTest/src/ |
D | Main.java | 216 TestVolatileClass tv = new TestVolatileClass(); in testGetAndPutVolatile() local 221 check(unsafe.getIntVolatile(tv, volatileIntOffset), in testGetAndPutVolatile() 224 unsafe.putIntVolatile(tv, volatileIntOffset, intValue); in testGetAndPutVolatile() 225 check(tv.volatileIntVar, intValue, "Unsafe.putIntVolatile(Object, long, int)"); in testGetAndPutVolatile() 226 check(unsafe.getIntVolatile(tv, volatileIntOffset), in testGetAndPutVolatile() 233 check(unsafe.getLongVolatile(tv, volatileLongOffset), in testGetAndPutVolatile() 236 unsafe.putLongVolatile(tv, volatileLongOffset, longValue); in testGetAndPutVolatile() 237 check(tv.volatileLongVar, longValue, "Unsafe.putLongVolatile(Object, long, long)"); in testGetAndPutVolatile() 238 check(unsafe.getLongVolatile(tv, volatileLongOffset), in testGetAndPutVolatile() 245 check(unsafe.getObjectVolatile(tv, volatileObjectOffset), in testGetAndPutVolatile() [all …]
|
/art/libartbase/base/ |
D | time_utils.cc | 38 int GetTimeOfDay(struct timeval* tv, struct timezone* tz) { in GetTimeOfDay() argument 40 return mingw_gettimeofday(tv, tz); in GetTimeOfDay() 42 return gettimeofday(tv, tz); in GetTimeOfDay() 235 timeval tv; in InitTimeSpec() 236 GetTimeOfDay(&tv, nullptr); in InitTimeSpec() 237 ts->tv_sec = tv.tv_sec; in InitTimeSpec() 238 ts->tv_nsec = tv.tv_usec * 1000; in InitTimeSpec()
|
/art/tools/dmtracedump/ |
D | createtesttrace.cc | 339 struct timeval tv; in writeDataHeader() local 342 gettimeofday(&tv, &tz); in writeDataHeader() 343 uint64_t startTime = tv.tv_sec; in writeDataHeader() 344 startTime = (startTime << 32) | tv.tv_usec; in writeDataHeader()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 207 struct timeval tv; in JVM_CurrentTimeMillis() local 208 gettimeofday(&tv, (struct timezone *) nullptr); in JVM_CurrentTimeMillis() 209 jlong when = tv.tv_sec * 1000LL + tv.tv_usec / 1000; in JVM_CurrentTimeMillis()
|
/art/openjdkjvmti/ |
D | events.cc | 470 struct timeval tv; in ThreadParkStart() local 471 gettimeofday(&tv, (struct timezone *) nullptr); in ThreadParkStart() 472 int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; in ThreadParkStart()
|