1 /*******************************************************************************
2 * Copyright (c) 2009, 2013 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * William Bourque - Initial API and implementation
11 * Yuriy Vashchuk - GUI reorganisation, simplification and some related code improvements.
12 * Yuriy Vashchuk - Histograms optimisation.
13 * Yuriy Vashchuk - Histogram Canvas Heritage correction
14 * Francois Chouinard - Cleanup and refactoring
15 * Francois Chouinard - Moved from LTTng to TMF
16 * Patrick Tasse - Update for mouse wheel zoom
17 *******************************************************************************/
19 package org
.eclipse
.linuxtools
.tmf
.ui
.views
.histogram
;
21 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEvent
;
22 import org
.eclipse
.linuxtools
.tmf
.core
.request
.ITmfDataRequest
.ExecutionType
;
23 import org
.eclipse
.linuxtools
.tmf
.core
.request
.TmfDataRequest
;
24 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfRangeSynchSignal
;
25 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfSignalHandler
;
26 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfSignalThrottler
;
27 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTimeSynchSignal
;
28 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTraceClosedSignal
;
29 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTraceOpenedSignal
;
30 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTraceRangeUpdatedSignal
;
31 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTraceSelectedSignal
;
32 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTraceUpdatedSignal
;
33 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.ITmfTimestamp
;
34 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.TmfTimeRange
;
35 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.TmfTimestamp
;
36 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
37 import org
.eclipse
.linuxtools
.tmf
.ui
.views
.TmfView
;
38 import org
.eclipse
.swt
.SWT
;
39 import org
.eclipse
.swt
.events
.MouseWheelListener
;
40 import org
.eclipse
.swt
.layout
.GridData
;
41 import org
.eclipse
.swt
.layout
.GridLayout
;
42 import org
.eclipse
.swt
.widgets
.Composite
;
45 * The purpose of this view is to provide graphical time distribution statistics about the trace events.
47 * The view is composed of two histograms and two controls:
49 * <li>an event distribution histogram for the whole trace;
50 * <li>an event distribution histogram for current time window (window span);
51 * <li>the timestamp of the currently selected event;
52 * <li>the window span (size of the time window of the smaller histogram).
54 * The histograms x-axis show their respective time range.
57 * @author Francois Chouinard
59 public class HistogramView
extends TmfView
{
61 // ------------------------------------------------------------------------
63 // ------------------------------------------------------------------------
66 * The view ID as defined in plugin.xml
68 public static final String ID
= "org.eclipse.linuxtools.tmf.ui.views.histogram"; //$NON-NLS-1$
70 // ------------------------------------------------------------------------
72 // ------------------------------------------------------------------------
75 private Composite fParent
;
78 private ITmfTrace fTrace
;
80 // Current timestamp/time window - everything in the TIME_SCALE
81 private long fTraceStartTime
;
82 private long fTraceEndTime
;
83 private long fWindowStartTime
;
84 private long fWindowEndTime
;
85 private long fWindowSpan
;
86 private long fCurrentTimestamp
;
89 private HistogramTextControl fCurrentEventTimeControl
;
90 private HistogramTextControl fTimeSpanControl
;
92 // Histogram/request for the full trace range
93 private static FullTraceHistogram fFullTraceHistogram
;
94 private HistogramRequest fFullTraceRequest
;
96 // Histogram/request for the selected time range
97 private static TimeRangeHistogram fTimeRangeHistogram
;
98 private HistogramRequest fTimeRangeRequest
;
100 // Throttlers for the time sync and time-range sync signals
101 private final TmfSignalThrottler fTimeSyncThrottle
;
102 private final TmfSignalThrottler fTimeRangeSyncThrottle
;
104 // ------------------------------------------------------------------------
106 // ------------------------------------------------------------------------
109 * Default constructor
111 public HistogramView() {
113 fTimeSyncThrottle
= new TmfSignalThrottler(this, 200);
114 fTimeRangeSyncThrottle
= new TmfSignalThrottler(this, 200);
118 public void dispose() {
119 if ((fTimeRangeRequest
!= null) && !fTimeRangeRequest
.isCompleted()) {
120 fTimeRangeRequest
.cancel();
122 if ((fFullTraceRequest
!= null) && !fFullTraceRequest
.isCompleted()) {
123 fFullTraceRequest
.cancel();
125 fFullTraceHistogram
.dispose();
126 fTimeRangeHistogram
.dispose();
127 fCurrentEventTimeControl
.dispose();
128 fTimeSpanControl
.dispose();
132 // ------------------------------------------------------------------------
134 // ------------------------------------------------------------------------
137 public void createPartControl(Composite parent
) {
142 final String currentEventLabel
= Messages
.HistogramView_currentEventLabel
;
143 final String windowSpanLabel
= Messages
.HistogramView_windowSpanLabel
;
145 // --------------------------------------------------------------------
146 // Set the HistogramView layout
147 // --------------------------------------------------------------------
149 Composite viewComposite
= new Composite(fParent
, SWT
.FILL
);
150 GridLayout gridLayout
= new GridLayout();
151 gridLayout
.numColumns
= 2;
152 gridLayout
.horizontalSpacing
= 5;
153 gridLayout
.verticalSpacing
= 0;
154 gridLayout
.marginHeight
= 0;
155 gridLayout
.marginWidth
= 0;
156 viewComposite
.setLayout(gridLayout
);
158 // Use all available space
159 GridData gridData
= new GridData();
160 gridData
.horizontalAlignment
= SWT
.FILL
;
161 gridData
.verticalAlignment
= SWT
.FILL
;
162 gridData
.grabExcessHorizontalSpace
= true;
163 viewComposite
.setLayoutData(gridData
);
165 // --------------------------------------------------------------------
167 // --------------------------------------------------------------------
169 Composite controlsComposite
= new Composite(viewComposite
, SWT
.FILL
);
170 gridLayout
= new GridLayout();
171 gridLayout
.numColumns
= 2;
172 gridLayout
.marginHeight
= 0;
173 gridLayout
.marginWidth
= 0;
174 gridLayout
.horizontalSpacing
= 5;
175 gridLayout
.verticalSpacing
= 0;
176 gridLayout
.makeColumnsEqualWidth
= false;
177 gridLayout
.marginLeft
= 5;
178 gridLayout
.marginRight
= 5;
179 controlsComposite
.setLayout(gridLayout
);
181 // Current event time control
182 gridData
= new GridData();
183 gridData
.horizontalAlignment
= SWT
.CENTER
;
184 gridData
.verticalAlignment
= SWT
.CENTER
;
185 fCurrentEventTimeControl
= new HistogramCurrentTimeControl(this, controlsComposite
, currentEventLabel
, 0L);
186 fCurrentEventTimeControl
.setLayoutData(gridData
);
187 fCurrentEventTimeControl
.setValue(Long
.MIN_VALUE
);
189 // Window span time control
190 gridData
= new GridData();
191 gridData
.horizontalAlignment
= SWT
.CENTER
;
192 gridData
.verticalAlignment
= SWT
.CENTER
;
193 fTimeSpanControl
= new HistogramTimeRangeControl(this, controlsComposite
, windowSpanLabel
, 0L);
194 fTimeSpanControl
.setLayoutData(gridData
);
195 fTimeSpanControl
.setValue(Long
.MIN_VALUE
);
197 // --------------------------------------------------------------------
198 // Time range histogram
199 // --------------------------------------------------------------------
201 Composite timeRangeComposite
= new Composite(viewComposite
, SWT
.FILL
);
202 gridLayout
= new GridLayout();
203 gridLayout
.numColumns
= 1;
204 gridLayout
.marginHeight
= 0;
205 gridLayout
.marginWidth
= 0;
206 gridLayout
.marginTop
= 5;
207 gridLayout
.horizontalSpacing
= 0;
208 gridLayout
.verticalSpacing
= 0;
209 gridLayout
.marginLeft
= 5;
210 gridLayout
.marginRight
= 5;
211 timeRangeComposite
.setLayout(gridLayout
);
213 // Use remaining horizontal space
214 gridData
= new GridData();
215 gridData
.horizontalAlignment
= SWT
.FILL
;
216 gridData
.verticalAlignment
= SWT
.FILL
;
217 gridData
.grabExcessHorizontalSpace
= true;
218 timeRangeComposite
.setLayoutData(gridData
);
221 fTimeRangeHistogram
= new TimeRangeHistogram(this, timeRangeComposite
);
223 // --------------------------------------------------------------------
224 // Full range histogram
225 // --------------------------------------------------------------------
227 Composite fullRangeComposite
= new Composite(viewComposite
, SWT
.FILL
);
228 gridLayout
= new GridLayout();
229 gridLayout
.numColumns
= 1;
230 gridLayout
.marginHeight
= 0;
231 gridLayout
.marginWidth
= 0;
232 gridLayout
.marginTop
= 5;
233 gridLayout
.horizontalSpacing
= 0;
234 gridLayout
.verticalSpacing
= 0;
235 gridLayout
.marginLeft
= 5;
236 gridLayout
.marginRight
= 5;
237 fullRangeComposite
.setLayout(gridLayout
);
239 // Use remaining horizontal space
240 gridData
= new GridData();
241 gridData
.horizontalAlignment
= SWT
.FILL
;
242 gridData
.verticalAlignment
= SWT
.FILL
;
243 gridData
.horizontalSpan
= 2;
244 gridData
.grabExcessHorizontalSpace
= true;
245 fullRangeComposite
.setLayoutData(gridData
);
248 fFullTraceHistogram
= new FullTraceHistogram(this, fullRangeComposite
);
250 // Add mouse wheel listener to time span control
251 MouseWheelListener listener
= fFullTraceHistogram
.getZoom();
252 fTimeSpanControl
.addMouseWheelListener(listener
);
254 ITmfTrace trace
= getActiveTrace();
256 traceSelected(new TmfTraceSelectedSignal(this, trace
));
261 public void setFocus() {
262 fFullTraceHistogram
.fCanvas
.setFocus();
266 fParent
.layout(true);
269 // ------------------------------------------------------------------------
271 // ------------------------------------------------------------------------
274 * Returns the current trace handled by the view
276 * @return the current trace
279 public ITmfTrace
getTrace() {
284 * Returns the time range of the current selected window (base on default time scale).
286 * @return the time range of current selected window.
289 public TmfTimeRange
getTimeRange() {
290 return new TmfTimeRange(
291 new TmfTimestamp(fWindowStartTime
, ITmfTimestamp
.NANOSECOND_SCALE
),
292 new TmfTimestamp(fWindowEndTime
, ITmfTimestamp
.NANOSECOND_SCALE
));
295 // ------------------------------------------------------------------------
297 // ------------------------------------------------------------------------
300 * Broadcast TmfSignal about new current time value.
301 * @param newTime the new current time.
303 void updateCurrentEventTime(long newTime
) {
304 if (fTrace
!= null) {
305 TmfTimeRange timeRange
= new TmfTimeRange(new TmfTimestamp(newTime
, ITmfTimestamp
.NANOSECOND_SCALE
), TmfTimestamp
.BIG_CRUNCH
);
306 HistogramRequest request
= new HistogramRequest(fTimeRangeHistogram
.getDataModel(), timeRange
, 0, 1, 0, ExecutionType
.FOREGROUND
) {
308 public void handleData(ITmfEvent event
) {
310 ITmfTimestamp ts
= event
.getTimestamp();
311 updateDisplayedCurrentTime(ts
.normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue());
312 TmfTimeSynchSignal signal
= new TmfTimeSynchSignal(this, ts
);
313 fTimeSyncThrottle
.queue(signal
);
317 fTrace
.sendRequest(request
);
322 * Broadcast TmfSignal about new selected time range.
323 * @param startTime the new start time
324 * @param endTime the new end time
326 void updateTimeRange(long startTime
, long endTime
) {
327 if (fTrace
!= null) {
328 // Build the new time range; keep the current time
329 TmfTimeRange timeRange
= new TmfTimeRange(
330 new TmfTimestamp(startTime
, ITmfTimestamp
.NANOSECOND_SCALE
),
331 new TmfTimestamp(endTime
, ITmfTimestamp
.NANOSECOND_SCALE
));
332 ITmfTimestamp currentTime
= new TmfTimestamp(fCurrentTimestamp
, ITmfTimestamp
.NANOSECOND_SCALE
);
333 fTimeSpanControl
.setValue(endTime
- startTime
);
335 updateDisplayedTimeRange(startTime
, endTime
);
337 // Send the FW signal
338 TmfRangeSynchSignal signal
= new TmfRangeSynchSignal(this, timeRange
, currentTime
);
339 fTimeRangeSyncThrottle
.queue(signal
);
344 * Broadcast TmfSignal about new selected time range.
345 * @param newDuration new duration (relative to current start time)
347 public synchronized void updateTimeRange(long newDuration
) {
348 if (fTrace
!= null) {
349 long delta
= newDuration
- fWindowSpan
;
350 long newStartTime
= fWindowStartTime
- (delta
/ 2);
351 setNewRange(newStartTime
, newDuration
);
355 private void setNewRange(long startTime
, long duration
) {
356 long realStart
= startTime
;
358 if (realStart
< fTraceStartTime
) {
359 realStart
= fTraceStartTime
;
362 long endTime
= realStart
+ duration
;
363 if (endTime
> fTraceEndTime
) {
364 endTime
= fTraceEndTime
;
365 if ((endTime
- duration
) > fTraceStartTime
) {
366 realStart
= endTime
- duration
;
368 realStart
= fTraceStartTime
;
371 updateTimeRange(realStart
, endTime
);
374 // ------------------------------------------------------------------------
376 // ------------------------------------------------------------------------
379 * Handles trace opened signal. Loads histogram if new trace time range is not
380 * equal <code>TmfTimeRange.NULL_RANGE</code>
381 * @param signal the trace opened signal
385 public void traceOpened(TmfTraceOpenedSignal signal
) {
386 assert (signal
!= null);
387 fTrace
= signal
.getTrace();
392 * Handles trace selected signal. Loads histogram if new trace time range is not
393 * equal <code>TmfTimeRange.NULL_RANGE</code>
394 * @param signal the trace selected signal
398 public void traceSelected(TmfTraceSelectedSignal signal
) {
399 assert (signal
!= null);
400 if (fTrace
!= signal
.getTrace()) {
401 fTrace
= signal
.getTrace();
406 private void loadTrace() {
407 initializeHistograms();
412 * Handles trace closed signal. Clears the view and data model and cancels requests.
413 * @param signal the trace closed signal
417 public void traceClosed(TmfTraceClosedSignal signal
) {
419 if (signal
.getTrace() != fTrace
) {
423 // Kill any running request
424 if ((fTimeRangeRequest
!= null) && !fTimeRangeRequest
.isCompleted()) {
425 fTimeRangeRequest
.cancel();
427 if ((fFullTraceRequest
!= null) && !fFullTraceRequest
.isCompleted()) {
428 fFullTraceRequest
.cancel();
431 // Initialize the internal data
433 fTraceStartTime
= 0L;
435 fWindowStartTime
= 0L;
438 fCurrentTimestamp
= 0L;
440 // Clear the UI widgets
441 fFullTraceHistogram
.clear();
442 fTimeRangeHistogram
.clear();
443 fCurrentEventTimeControl
.setValue(Long
.MIN_VALUE
);
445 fTimeSpanControl
.setValue(Long
.MIN_VALUE
);
449 * Handles trace range updated signal. Extends histogram according to the new time range. If a
450 * HistogramRequest is already ongoing, it will be cancelled and a new request with the new range
453 * @param signal the trace range updated signal
457 public void traceRangeUpdated(TmfTraceRangeUpdatedSignal signal
) {
459 if (signal
.getTrace() != fTrace
) {
463 TmfTimeRange fullRange
= signal
.getRange();
465 fTraceStartTime
= fullRange
.getStartTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
466 fTraceEndTime
= fullRange
.getEndTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
468 fFullTraceHistogram
.setFullRange(fTraceStartTime
, fTraceEndTime
);
469 fTimeRangeHistogram
.setFullRange(fTraceStartTime
, fTraceEndTime
);
471 sendFullRangeRequest(fullRange
);
475 * Handles the trace updated signal. Used to update time limits (start and end time)
476 * @param signal the trace updated signal
480 public void traceUpdated(TmfTraceUpdatedSignal signal
) {
481 if (signal
.getTrace() != fTrace
) {
484 TmfTimeRange fullRange
= signal
.getTrace().getTimeRange();
485 fTraceStartTime
= fullRange
.getStartTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
486 fTraceEndTime
= fullRange
.getEndTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
488 fFullTraceHistogram
.setFullRange(fTraceStartTime
, fTraceEndTime
);
489 fTimeRangeHistogram
.setFullRange(fTraceStartTime
, fTraceEndTime
);
491 fFullTraceHistogram
.setTimeRange(fTimeRangeHistogram
.getStartTime(), fWindowSpan
);
492 fTimeRangeHistogram
.setTimeRange(fTimeRangeHistogram
.getStartTime(), fWindowSpan
);
494 if ((fFullTraceRequest
!= null) && fFullTraceRequest
.getRange().getEndTime().compareTo(signal
.getRange().getEndTime()) < 0) {
495 sendFullRangeRequest(fullRange
);
500 * Handles the current time updated signal. Sets the current time in the time range
501 * histogram as well as the full histogram.
503 * @param signal the signal to process
506 public void currentTimeUpdated(TmfTimeSynchSignal signal
) {
507 // Because this can't happen :-)
508 assert (signal
!= null);
510 // Update the selected event time
511 ITmfTimestamp currentTime
= signal
.getCurrentTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
);
512 updateDisplayedCurrentTime(currentTime
.getValue());
516 * Updates the current time range in the time range histogram and full range histogram.
517 * @param signal the signal to process
520 public void timeRangeUpdated(TmfRangeSynchSignal signal
) {
521 // Because this can't happen :-)
522 assert (signal
!= null);
524 if (fTrace
!= null) {
525 // Validate the time range
526 TmfTimeRange range
= signal
.getCurrentRange().getIntersection(fTrace
.getTimeRange());
531 updateDisplayedTimeRange(
532 range
.getStartTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue(),
533 range
.getEndTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue());
535 // Send the event request to populate the small histogram
536 sendTimeRangeRequest(fWindowStartTime
, fWindowEndTime
);
538 fTimeSpanControl
.setValue(fWindowSpan
);
542 // ------------------------------------------------------------------------
544 // ------------------------------------------------------------------------
546 private void initializeHistograms() {
547 TmfTimeRange fullRange
= updateTraceTimeRange();
548 long timestamp
= fTraceManager
.getCurrentTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
549 long startTime
= fTraceManager
.getCurrentRange().getStartTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
550 long duration
= fTraceManager
.getCurrentRange().getEndTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue() - startTime
;
552 if ((fTimeRangeRequest
!= null) && !fTimeRangeRequest
.isCompleted()) {
553 fTimeRangeRequest
.cancel();
555 fTimeRangeHistogram
.clear();
556 fTimeRangeHistogram
.setFullRange(fTraceStartTime
, fTraceEndTime
);
557 fTimeRangeHistogram
.setTimeRange(startTime
, duration
);
558 fTimeRangeHistogram
.setCurrentEvent(timestamp
);
560 if ((fFullTraceRequest
!= null) && !fFullTraceRequest
.isCompleted()) {
561 fFullTraceRequest
.cancel();
563 fFullTraceHistogram
.clear();
564 fFullTraceHistogram
.setFullRange(fTraceStartTime
, fTraceEndTime
);
565 fFullTraceHistogram
.setTimeRange(startTime
, duration
);
566 fFullTraceHistogram
.setCurrentEvent(timestamp
);
568 fWindowStartTime
= startTime
;
569 fWindowSpan
= duration
;
570 fWindowEndTime
= startTime
+ duration
;
572 fCurrentTimestamp
= timestamp
;
573 fCurrentEventTimeControl
.setValue(fCurrentTimestamp
);
575 fTimeSpanControl
.setValue(duration
);
577 if (!fullRange
.equals(TmfTimeRange
.NULL_RANGE
)) {
578 sendTimeRangeRequest(startTime
, startTime
+ duration
);
579 sendFullRangeRequest(fullRange
);
583 private void updateDisplayedCurrentTime(long time
) {
584 fCurrentTimestamp
= time
;
586 fFullTraceHistogram
.setCurrentEvent(fCurrentTimestamp
);
587 fTimeRangeHistogram
.setCurrentEvent(fCurrentTimestamp
);
588 fCurrentEventTimeControl
.setValue(fCurrentTimestamp
);
591 private void updateDisplayedTimeRange(long start
, long end
) {
592 fWindowStartTime
= start
;
593 fWindowEndTime
= end
;
594 fWindowSpan
= fWindowEndTime
- fWindowStartTime
;
595 fFullTraceHistogram
.setTimeRange(fWindowStartTime
, fWindowSpan
);
598 private TmfTimeRange
updateTraceTimeRange() {
599 fTraceStartTime
= 0L;
602 TmfTimeRange timeRange
= fTrace
.getTimeRange();
603 if (!timeRange
.equals(TmfTimeRange
.NULL_RANGE
)) {
604 fTraceStartTime
= timeRange
.getStartTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
605 fTraceEndTime
= timeRange
.getEndTime().normalize(0, ITmfTimestamp
.NANOSECOND_SCALE
).getValue();
610 private void sendTimeRangeRequest(long startTime
, long endTime
) {
611 if ((fTimeRangeRequest
!= null) && !fTimeRangeRequest
.isCompleted()) {
612 fTimeRangeRequest
.cancel();
614 TmfTimestamp startTS
= new TmfTimestamp(startTime
, ITmfTimestamp
.NANOSECOND_SCALE
);
615 TmfTimestamp endTS
= new TmfTimestamp(endTime
, ITmfTimestamp
.NANOSECOND_SCALE
);
616 TmfTimeRange timeRange
= new TmfTimeRange(startTS
, endTS
);
618 fTimeRangeHistogram
.clear();
619 fTimeRangeHistogram
.setFullRange(fTraceStartTime
, fTraceEndTime
);
620 fTimeRangeHistogram
.setTimeRange(startTime
, endTime
- startTime
);
622 int cacheSize
= fTrace
.getCacheSize();
623 fTimeRangeRequest
= new HistogramRequest(fTimeRangeHistogram
.getDataModel(), timeRange
, 0, TmfDataRequest
.ALL_DATA
, cacheSize
, ExecutionType
.FOREGROUND
);
624 fTrace
.sendRequest(fTimeRangeRequest
);
627 private void sendFullRangeRequest(TmfTimeRange fullRange
) {
628 if ((fFullTraceRequest
!= null) && !fFullTraceRequest
.isCompleted()) {
629 fFullTraceRequest
.cancel();
631 int cacheSize
= fTrace
.getCacheSize();
632 fFullTraceRequest
= new HistogramRequest(fFullTraceHistogram
.getDataModel(), fullRange
, (int) fFullTraceHistogram
.fDataModel
.getNbEvents(),
633 TmfDataRequest
.ALL_DATA
, cacheSize
, ExecutionType
.BACKGROUND
);
634 fTrace
.sendRequest(fFullTraceRequest
);