Copyright header update, 2015 edition
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ctf.core / src / org / eclipse / tracecompass / tmf / ctf / core / timestamp / CtfTmfTimestamp.java
CommitLineData
b0f9e44d 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2012, 2014 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
9722e5d7 13package org.eclipse.tracecompass.tmf.ctf.core.timestamp;
ce2388e0 14
2bdf0193
AM
15import org.eclipse.tracecompass.tmf.core.timestamp.ITmfTimestamp;
16import org.eclipse.tracecompass.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) {
065cc19b 34 super(timestamp, ITmfTimestamp.NANOSECOND_SCALE);
b1baa808
MK
35 }
36
ce2388e0 37}
This page took 0.062252 seconds and 5 git commands to generate.