From e247bb1aaf12a98736ce2a50ebb07382b2be5926 Mon Sep 17 00:00:00 2001 From: Matthew Khouzam Date: Tue, 19 Nov 2024 10:49:00 -0500 Subject: [PATCH] tmf.ui: Lower Histogram redraw rate After tracing, it was found that redraws on the histogram were done 100 times a second, lower it to approximately 25 fps. Change-Id: I9e4f00e3ca628bbc00a54f981e1b4a2611013b2d Signed-off-by: Matthew Khouzam --- .../tracecompass/tmf/ui/views/histogram/HistogramDataModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/histogram/HistogramDataModel.java b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/histogram/HistogramDataModel.java index 96af19a298..c73fc7d127 100644 --- a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/histogram/HistogramDataModel.java +++ b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/histogram/HistogramDataModel.java @@ -87,7 +87,7 @@ public class HistogramDataModel implements IHistogramDataModel { /** * Number of events after which listeners will be notified. */ - public static final int REFRESH_FREQUENCY = DEFAULT_NUMBER_OF_BUCKETS; + public static final int REFRESH_FREQUENCY = 4 * DEFAULT_NUMBER_OF_BUCKETS; // ------------------------------------------------------------------------ // Attributes