public class Timing extends Object
| Modifier and Type | Method and Description | 
|---|---|
| void | start()Starts the time measurement. | 
| double | stop()Measures and returns the time since the last start() or stop() invocation and
 restarts the measurement. | 
| void | stopAndPrint()Measures and returns the time since the last start() or stop() invocation,
 restarts the measurement, and prints the last measurement to STDOUT. | 
public void start()
public double stop()
public void stopAndPrint()
Copyright © 2021 The Apache Software Foundation. All rights reserved.