
jnr.posix.JavaTimes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-unixsocket-nodep Show documentation
Show all versions of jnr-unixsocket-nodep Show documentation
com.github.jnr:jnr-unixsocket with orh.objectweb.asm shaded
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