Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 48) sorted by relevance

12

/art/libartbase/base/
Dtime_utils.cc139 timespec now; in GetIsoDate() local
140 clock_gettime(CLOCK_REALTIME, &now); in GetIsoDate()
141 localtime_r(&now.tv_sec, &tmbuf); in GetIsoDate()
142 ns = now.tv_nsec; in GetIsoDate()
144 time_t now = time(nullptr); in GetIsoDate() local
145 localtime_r(&now, &tmbuf); in GetIsoDate()
157 timespec now; in MilliTime() local
158 clock_gettime(CLOCK_MONOTONIC, &now); in MilliTime()
159 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000) + now.tv_nsec / UINT64_C(1000000); in MilliTime()
161 timeval now; in MilliTime()
[all …]
/art/openjdkjvmti/
Dti_phase.cc104 jvmtiPhase now = PhaseUtil::current_phase_; in GetPhase() local
105 DCHECK(now == JVMTI_PHASE_ONLOAD || in GetPhase()
106 now == JVMTI_PHASE_PRIMORDIAL || in GetPhase()
107 now == JVMTI_PHASE_START || in GetPhase()
108 now == JVMTI_PHASE_LIVE || in GetPhase()
109 now == JVMTI_PHASE_DEAD); in GetPhase()
110 *phase_ptr = now; in GetPhase()
115 jvmtiPhase now = PhaseUtil::current_phase_; in IsLivePhase() local
116 DCHECK(now == JVMTI_PHASE_ONLOAD || in IsLivePhase()
117 now == JVMTI_PHASE_PRIMORDIAL || in IsLivePhase()
[all …]
Dti_timers.cc79 struct timespec now; in GetTime() local
80 clock_gettime(CLOCK_MONOTONIC, &now); in GetTime()
81 *nanos_ptr = now.tv_sec * 1000000000LL + now.tv_nsec; in GetTime()
/art/odrefresh/
Dodr_compilation_log.cc164 time_t now; in Log() local
165 time(&now); in Log()
166 Log(apex_version, last_update_millis, trigger, now, compilation_result); in Log()
182 bool OdrCompilationLog::ShouldAttemptCompile(OdrMetrics::Trigger trigger, time_t now) const { in ShouldAttemptCompile()
211 if (now == 0) { in ShouldAttemptCompile()
212 time(&now); in ShouldAttemptCompile()
217 return now >= threshold; in ShouldAttemptCompile()
Dodr_compilation_log.h68 bool ShouldAttemptCompile(OdrMetrics::Trigger trigger, time_t now = 0) const;
/art/test/1963-add-to-dex-classloader-in-memory/
Dexpected-stdout.txt7 -- call TestClass again, now with NewClass refs
16 -- call TestClass again, now with NewClass refs
/art/test/2044-get-stack-traces/src/
DMain.java76 long now = System.currentTimeMillis(); in main() local
77 while (System.currentTimeMillis() - now < 2000) { in main()
/art/test/046-reflect/
Dexpected-stdout.txt42 string1 value is now 'a new string'
55 superInt value is now 20202
56 superInt value (from short) is now 30303
57 superInt value is now 40404
88 cantTouchThis is now 87
89 cantTouchThis is now 88
/art/test/1964-add-to-dex-classloader-file/
Dexpected-stdout.txt7 -- call TestClass again, now with NewClass refs
20 -- call TestClass again, now with NewClass refs
/art/test/030-bad-finalizer/
Dexpected-stdout.txt4 Finalizer sleeping forever now.
/art/test/2041-bad-cleaner/
Dexpected-stdout.txt4 Cleaner sleeping forever now.
/art/test/2261-badcleaner-in-systemcleaner/
Dexpected-stdout.txt4 Cleaner sleeping forever now.
/art/test/1336-short-finalizer-timeout/
Dexpected-stdout.txt5 Finalizer sleeping forever now.
/art/test/451-regression-add-float/
Dinfo.txt2 could be now be a constant for floating point numbers.
/art/runtime/
Dbarrier.cc89 uint64_t now = NanoTime(); in Increment() local
90 int64_t time_left = abs_timeout - now; in Increment()
/art/test/847-filled-new-aray/
Dinfo.txt2 filled-new-array with an unresolved type. We now accept it, and a
/art/libarttools/
Dtools.cc69 timespec now; in MilliTime() local
70 clock_gettime(CLOCK_MONOTONIC, &now); in MilliTime()
71 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000) + now.tv_nsec / UINT64_C(1000000); in MilliTime()
/art/test/142-classloader2/smali/
DMyPathClassLoader.smali2 # We need to use smali right now to subclass a libcore class, see b/24304298.
/art/test/719-varhandle-concurrency/src/
DMain.java64 Duration now = Duration.ofNanos(System.nanoTime()); in testConcurrentProcessing() local
65 if (0 < now.compareTo(endTs)) { in testConcurrentProcessing()
/art/test/996-breakpoint-obsolete/
Dexpected-stdout.txt7 Setting breakpoint on now obsolete method to line 40
/art/test/800-smali/smali/
Db_22331663_fail.smali16 # be movable now, so ensure that we do not get a conflict (and then allow the move).
/art/test/1935-get-set-current-frame-jit/src/
DMain.java72 Instant osrDeadline = Instant.now().plusSeconds(expectOsr ? 600 : 3); in run()
76 } while (normalJit && !Main.isInOsrCode("run") && osrDeadline.compareTo(Instant.now()) > 0); in run()
/art/tools/dexfuzz/src/dexfuzz/listeners/
DLogFileListener.java107 Date now = new Date(System.currentTimeMillis()); in handleIterationStarted() local
108 write("Time started: " + now.toString()); in handleIterationStarted()
/art/test/956-methodhandles/
Dexpected-stdout.txt26 Don't expect Hi now
/art/test/924-threads/src/art/
DTest924.java226 Instant deadline = Instant.now().plusSeconds(60 * 5); in waitForState()
227 while ((state = getThreadState(t)) != desired && deadline.isAfter(Instant.now())) { in waitForState()

12