MCPcopy Create free account
hub / github.com/apache/solr / getTime

Method getTime

solr/core/src/java/org/apache/solr/util/RTimer.java:105–112  ·  view source on GitHub ↗

Get total elapsed time for this timer.

()

Source from the content-addressed store, hash-verified

103
104 /** Get total elapsed time for this timer. */
105 public double getTime() {
106 if (state == STOPPED) return time;
107 else if (state == PAUSED) return culmTime;
108 else {
109 assert state == STARTED;
110 return culmTime + timerImpl.elapsed();
111 }
112 }
113}

Callers 15

sendCommitWithRetryMethod · 0.95
doPerfMethod · 0.95
doSetGenMethod · 0.95
doListGenMethod · 0.95
mainMethod · 0.95
testIndexingPerfMethod · 0.95
testPerformanceMethod · 0.95
runQueryMethod · 0.95
mainMethod · 0.95

Calls 1

elapsedMethod · 0.65

Tested by 15

sendCommitWithRetryMethod · 0.76
doPerfMethod · 0.76
doSetGenMethod · 0.76
doListGenMethod · 0.76
mainMethod · 0.76
testIndexingPerfMethod · 0.76
testPerformanceMethod · 0.76
runQueryMethod · 0.76
mainMethod · 0.76