From 041d1bbedc9d7741e8b754762c8052da05ba3549 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 6 Jan 2025 11:03:01 +0100 Subject: [PATCH] Add Javadoc --- .../transit/speed_test/model/timer/SpeedTestTimer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java b/application/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java index 847cbad2a14..80970eaad0a 100644 --- a/application/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java +++ b/application/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java @@ -137,6 +137,9 @@ public void globalCount(String meterName, long count) { } } + /** + * Execute the runnable and record its runtime in the meter name passed in. + */ public void recordTimer(String meterName, Runnable runnable) { if (uploadRegistry != null) { registry.add(uploadRegistry);