import com.jamonapi.Monitor; import com.jamonapi.MonitorFactory; public class MyClass { public void myMethod() { Monitor monitor = MonitorFactory.start("MyMethodExecutionTime"); monitor.stop(); } }