MCPcopy Create free account
hub / github.com/SWI-Prolog/packages-jpl / getElapsedTimeInMillis

Method getElapsedTimeInMillis

src/examples/java/time/Time.java:213–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 }
212
213 public long getElapsedTimeInMillis() {
214 if (running) {
215 return getMillis() - start_time;
216 } else {
217 return stop_time - start_time;
218 }
219 }
220
221 public double getElapsedTimeInSeconds() {
222 return getElapsedTimeInMillis() / 1000;

Callers 6

test_0Method · 0.80
test_1Method · 0.80
test_2Method · 0.80
test_3Method · 0.80
test_4Method · 0.80

Calls 1

getMillisMethod · 0.95

Tested by

no test coverage detected