Skip to content

Apache Lucene open-source search software

expose the sub timer list

Ryan McKinleyf1422bdf6795
diff --git a/src/common/org/apache/solr/common/util/RTimer.java b/src/common/org/apache/solr/common/util/RTimer.java
index 95c5b05c2e4..cd10d23ee1c 100644
--- a/src/common/org/apache/solr/common/util/RTimer.java
+++ b/src/common/org/apache/solr/common/util/RTimer.java
@@ -122,6 +122,14 @@ public class RTimer {
}
return m;
}
+
+ /**
+ * Manipulating this map may have undefined results.
+ */
+ public SimpleOrderedMap<RTimer> getChildren()
+ {
+ return children;
+ }
/*************** Testing *******/
public static void main(String []argv) throws InterruptedException {