1 /*******************************************************************************
2 * Copyright (c) 2012, 2013 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 * Patrick Tasse - Updated for location in checkpoint
12 *******************************************************************************/
14 package org
.eclipse
.linuxtools
.tmf
.core
.trace
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.ITmfTimestamp
;
19 * The basic trace checkpoint structure in TMF. The purpose of the checkpoint is
20 * to associate a trace location to an event timestamp.
23 * @author Francois Chouinard
28 public interface ITmfCheckpoint
extends Comparable
<ITmfCheckpoint
> {
30 // ------------------------------------------------------------------------
32 // ------------------------------------------------------------------------
35 * @return the timestamp of the event referred to by the context
38 public ITmfTimestamp
getTimestamp();
41 * @return the location of the event referred to by the checkpoint
43 public ITmfLocation
getLocation();
45 // ------------------------------------------------------------------------
47 // ------------------------------------------------------------------------
50 public int compareTo(ITmfCheckpoint checkpoint
);