ctf/tmf: allow multiple traces to be open with name clashing events
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / ctfadaptor / CtfTmfTimestamp.java
CommitLineData
b0f9e44d 1/*******************************************************************************
61759503 2 * Copyright (c) 2012, 2013 Ericsson
b0f9e44d
MK
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * 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 *
1c5a6a8f
AM
9 * Contributors:
10 * Matthew Khouzam - Initial API and implementation
b0f9e44d
MK
11 *******************************************************************************/
12
ce2388e0
FC
13package org.eclipse.linuxtools.tmf.core.ctfadaptor;
14
3bd46eef
AM
15import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
16import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimestamp;
ce2388e0 17
b1baa808 18/**
1c5a6a8f
AM
19 * The CTF adapter for the TMF timestamp. It's basically the same as a
20 * TmfTimestamp, but the scale is always nanoseconds, and the precision is 0.
9b749023 21 *
1c5a6a8f 22 * @version 1.2
d09f973b 23 * @author Matthew khouzam
b1baa808 24 */
1c5a6a8f 25public final class CtfTmfTimestamp extends TmfTimestamp {
ce2388e0 26
b1baa808
MK
27 /**
28 * Constructor for CtfTmfTimestamp.
1c5a6a8f
AM
29 *
30 * @param timestamp
31 * The timestamp value (in nanoseconds)
b1baa808 32 */
b0f9e44d 33 public CtfTmfTimestamp(long timestamp) {
4593bd5b 34 super(timestamp, ITmfTimestamp.NANOSECOND_SCALE, 0);
b1baa808
MK
35 }
36
ce2388e0 37}
This page took 0.079205 seconds and 5 git commands to generate.