- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for elapsedTime (0.08 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
} /** * Returns the elapsed time since clock initialization. * This is a convenience method equivalent to {@code get().elapsedTime()}. * * @return the duration since clock initialization */ public static Duration elapsed() { return get().elapsedTime(); } /** * Returns a monotonically increasing instant. * <p>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
} repository.store(destinationFile.get().asFile) Date stop = new Date() TimeDuration elapsedTime = TimeCategory.minus(stop, start) Logging.getLogger(this.getClass()).lifecycle( "Parsed $counter classes in ${elapsedTime}") } def parse(File sourceFile, ClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testElapsedTimeConsistency() { MonotonicClock clock = MonotonicClock.get(); Instant now = clock.instant(); Duration elapsed = clock.elapsedTime(); Duration calculated = Duration.between(clock.startInstant(), now); // Allow for small timing differences (1ms) due to execution time between measurements assertTrue(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0)