diff options
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfStatisticsTreeNode.java')
-rwxr-xr-x | lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfStatisticsTreeNode.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfStatisticsTreeNode.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfStatisticsTreeNode.java index ca68a8cf4c..f6a42fd990 100755 --- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfStatisticsTreeNode.java +++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfStatisticsTreeNode.java @@ -158,6 +158,19 @@ public class TmfStatisticsTreeNode { } /** + * Resets the global number of events. It doesn't remove any node + * and doesn't modify the partial event count. + * + * Works recursively. + * + * @since 2.0 + */ + public void resetGlobalValue() { + getValue().resetTotalCount(); + fNodes.resetGlobalValue(fPath); + } + + /** * Resets the number of events in the time range. It doesn't remove any node * and doesn't modify the global event count. * |