Commit | Line | Data |
---|---|---|
b0d3496e ASL |
1 | /*******************************************************************************\r |
2 | * Copyright (c) 2009 Ericsson\r | |
3 | * \r | |
4 | * All rights reserved. This program and the accompanying materials are\r | |
5 | * made available under the terms of the Eclipse Public License v1.0 which\r | |
6 | * accompanies this distribution, and is available at\r | |
7 | * http://www.eclipse.org/legal/epl-v10.html\r | |
8 | * \r | |
9 | * Contributors:\r | |
10 | * Alvaro Sanchez-Leon - Initial API and implementation\r | |
11 | *******************************************************************************/\r | |
12 | \r | |
13 | package org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.model;\r | |
14 | \r | |
15 | public interface ITimeEvent {\r | |
16 | \r | |
17 | public ITmfTimeAnalysisEntry getEntry();\r | |
18 | \r | |
19 | public long getTime();\r | |
20 | \r | |
21 | /**\r | |
b0d3496e | 22 | * @return\r |
0d9a6d76 FC |
23 | * <list>\r |
24 | * <li>-1: Considers duration to be from current event till the next</li>\r | |
25 | * <li>0: Duration is not relevant e.g. a Burst / no state associated</li>\r | |
26 | * <li>>0: Valid duration value specified</li>\r | |
27 | * </list>\r | |
28 | * <p>\r | |
b0d3496e ASL |
29 | */\r |
30 | public long getDuration();\r | |
31 | \r | |
32 | } |