Searched defs:tm (Results 1 - 3 of 3) sorted by relevance

/dalvik/vm/test/
H A DTestIndirectRefTable.cpp48 struct timespec tm; local
49 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm);
50 return tm.tv_sec * 1000000LL + tm.tv_nsec / 1000;
/dalvik/vm/
H A DProfile.cpp124 struct timespec tm; local
126 clock_gettime(cid, &tm);
127 if (!(tm.tv_nsec >= 0 && tm.tv_nsec < 1*1000*1000*1000)) {
128 ALOGE("bad nsec: %ld", tm.tv_nsec);
131 return tm.tv_sec * 1000000LL + tm.tv_nsec / 1000;
H A DSync.cpp860 struct timespec tm; local
949 tm.tv_sec = 0;
950 tm.tv_nsec = sleepDelayNs;
951 nanosleep(&tm, NULL);

Completed in 720 milliseconds