1 /*******************************************************************************
2 * Copyright (c) 2012, 2014 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.core
.event
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.timestamp
.TmfTimeRange
;
18 * The generic lost event structure in TMF.
20 * In some demanding situations, tracers can be overwhelmed and have a hard time
21 * keeping up with the flow of events to record. Usually, even if a tracer can't
22 * keep up, it can at least record the number of events that it lost.
24 * This interface provides the different components (e.g. views) with a mean to
25 * identify and highlight such events.
27 * This interface extends ITmfEvent by adding the number of lost events for a
28 * 'problematic' time range.
32 * @author Francois Chouinard
34 public interface ITmfLostEvent
extends ITmfEvent
{
36 // ------------------------------------------------------------------------
38 // ------------------------------------------------------------------------
41 * @return the 'problem' time range
43 TmfTimeRange
getTimeRange();
46 * @return the number of lost events in the time range
48 long getNbLostEvents();
This page took 0.031912 seconds and 5 git commands to generate.