jnr.posix.JavaTimes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package jnr.posix;
final class JavaTimes implements Times {
private static final long startTime = System.currentTimeMillis();
static final long HZ = 1000;
public long utime() {
return Math.max(System.currentTimeMillis() - startTime, 1);
}
public long stime() {
return 0;
}
public long cutime() {
return 0;
}
public long cstime() {
return 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy