Skip to content

Commit

Permalink
tmf.ui: Lower Histogram redraw rate
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
MatthewKhouzam committed Nov 19, 2024
1 parent 1f99bb8 commit e247bb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e247bb1

Please sign in to comment.