blob: 0e980b816b93788b896b431055a815e6abb00021 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// Copyright 2017 Yahoo Holdings. 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(); }
}
|