1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 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 * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
11 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.lttng
.state
.resource
;
14 import org
.eclipse
.linuxtools
.tmf
.event
.TmfTimeRange
;
15 import org
.eclipse
.linuxtools
.tmf
.trace
.ITmfTrace
;
18 * <b><u>ILttngStateContext</u></b>
19 * <p>Provides context information of a State system instance</p>
27 public interface ILttngStateContext
{
30 * Returns the number of CPUs available in the Trace
34 public int getNumberOfCpus();
37 * The current time range window covering the Trace
41 public TmfTimeRange
getTraceTimeWindow();
44 * The current time range window covering the Experiment
48 public TmfTimeRange
getExperimentTimeWindow();
51 * Returns the name of the associated experiment
55 public String
getExperimentName();
58 * Returns the corresponding trace id.
62 public String
getTraceId();
65 * Returns the corresponding trace id reference
69 public ITmfTrace
getTraceIdRef();
72 * Returns Trace Identifier
73 * @return Trace Identifier
75 public long getIdentifier();
This page took 0.032389 seconds and 5 git commands to generate.