com.kolibrifx.plovercrest.performance.tools.TimingData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plovercrest-performance-tools Show documentation
Show all versions of plovercrest-performance-tools Show documentation
Performance testing tools for Plovercrest.
The newest version!
/*
* Copyright (c) 2010-2017, KolibriFX AS. Licensed under the Apache License, version 2.0.
*/
package com.kolibrifx.plovercrest.performance.tools;
import com.kolibrifx.napo.base.Param;
import com.kolibrifx.napo.base.Timestamp;
public class TimingData {
private final long timestamp;
private final long nanoTimestamp;
public TimingData(@Param("Timestamp") final long timestamp, @Param("NanoTimestamp") final long nanoTimestamp) {
this.timestamp = timestamp;
this.nanoTimestamp = nanoTimestamp;
}
@Timestamp
public long getTimestamp() {
return timestamp;
}
public long getNanoTimestamp() {
return nanoTimestamp;
}
@Override
public String toString() {
return "TimingData [timestamp=" + timestamp + ", nanoTimestamp=" + nanoTimestamp + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy