File: TestTimer.java

package info (click to toggle)
mpj 0.44%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 7,592 kB
  • sloc: java: 49,853; ansic: 2,508; xml: 596; sh: 311; perl: 156; makefile: 27
file content (15 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import timer.NativeTimer;

public class TestTimer {

  public static void main(String[] args) {

    System.out.println("#Making timer");
    NativeTimer microTimer = new NativeTimer();
    System.out.println("#Native timer online");

    double c = microTimer.getMicroseconds();
    System.out.println(c);

  }
}