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

Method stop

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

Stop this timer

()

Source from the content-addressed store, hash-verified

81
82 /** Stop this timer */
83 public double stop() {
84 assert state == STARTED || state == PAUSED;
85 time = culmTime;
86 if (state == STARTED) time += timerImpl.elapsed();
87 state = STOPPED;
88 return time;
89 }
90
91 public void pause() {
92 assert state == STARTED;

Callers 5

testSchemaLoadingPerfMethod · 0.95
scorerSupplierMethod · 0.95
getFingerprintMethod · 0.95
stopMethod · 0.95
initHostnameMethod · 0.95

Calls 1

elapsedMethod · 0.65

Tested by 1

testSchemaLoadingPerfMethod · 0.76