(no commit message)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / viewers / timeAnalysis / model / ITimeEvent.java
1 /*******************************************************************************
2 * Copyright (c) 2009 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Alvaro Sanchez-Leon - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.model;
14
15 public interface ITimeEvent {
16
17 public ITmfTimeAnalysisEntry getEntry();
18
19 public long getTime();
20
21 /**
22 * Returning <list> <li>-1: Considers duration to be from current event till
23 * the next</li> <li>0: Duration is not relevant e.g. a Burst / no state
24 * associated</li> <li>>0: Valid duration value specified</list>
25 *
26 * @return
27 */
28 public long getDuration();
29
30 }
This page took 0.030208 seconds and 5 git commands to generate.