public class PerfCounter extends Object
Constructor and Description |
---|
PerfCounter() |
Modifier and Type | Method and Description |
---|---|
static void |
end(String operation,
long slowThresholdNano)
Record the end of the operation.
|
static void |
inc(String operation)
Increment counter.
|
static void |
print() |
static void |
start(String operation)
Start operation.
|
Copyright © 2018. All rights reserved.