Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Benchmark
- {
- double startingTime;
- public Benchmark()
- {
- this.startingTime = System.currentTimeMillis();
- }
- public double getTimeElapsed()
- {
- return (System.currentTimeMillis() - startingTime) / 1000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement