Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.core / src / org / eclipse / linuxtools / lttng / core / state / resource / ILttngStateContext.java
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 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 (alvsan09@gmail.com) - Initial API and implementation
11 *******************************************************************************/
12 package org.eclipse.linuxtools.lttng.core.state.resource;
13
14 import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange;
15 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
16
17 /**
18 * <b><u>ILttngStateContext</u></b>
19 * <p>Provides context information of a State system instance</p>
20 *
21 */
22
23 /**
24 * @author alvaro
25 *
26 */
27 public interface ILttngStateContext {
28
29 /**
30 * Returns the number of CPUs available in the Trace
31 *
32 * @return
33 */
34 public int getNumberOfCpus();
35
36 /**
37 * The current time range window covering the Trace
38 *
39 * @return
40 */
41 public TmfTimeRange getTraceTimeWindow();
42
43 /**
44 * The current time range window covering the Experiment
45 *
46 * @return
47 */
48 public TmfTimeRange getExperimentTimeWindow();
49
50 /**
51 * Returns the name of the associated experiment
52 *
53 * @return
54 */
55 public String getExperimentName();
56
57 /**
58 * Returns the corresponding trace id.
59 *
60 * @return
61 */
62 public String getTraceId();
63
64 /**
65 * Returns the corresponding trace id reference
66 *
67 * @return
68 */
69 public ITmfTrace<?> getTraceIdRef();
70
71 /**
72 * Returns Trace Identifier
73 * @return Trace Identifier
74 */
75 public long getIdentifier();
76
77 }
This page took 0.038201 seconds and 5 git commands to generate.