blob: 12258ebfeb101cf993344e98ece4e13d96855e1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.metrics;
/**
* @author thomasg
*/
class Timer {
int secs() { return (int)(milliSecs() / 1000); }
long milliSecs() { return System.currentTimeMillis(); }
}
|