diff --git a/wpilibc/src/main/native/include/frc/Watchdog.h b/wpilibc/src/main/native/include/frc/Watchdog.h index b130cc17fc..d32fa11322 100644 --- a/wpilibc/src/main/native/include/frc/Watchdog.h +++ b/wpilibc/src/main/native/include/frc/Watchdog.h @@ -51,6 +51,9 @@ class Watchdog { /** * Adds time since last epoch to the list printed by PrintEpochs(). * + * Epochs are a way to partition the time elapsed so that when overruns occur, + * one can determine which parts of an operation consumed the most time. + * * @param epochName The name to associate with the epoch. */ void AddEpoch(wpi::StringRef epochName); diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Watchdog.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Watchdog.java index 4a458d310d..fc0d8417c0 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Watchdog.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Watchdog.java @@ -68,6 +68,9 @@ public class Watchdog { /** * Adds time since last epoch to the list printed by printEpochs(). * + *
Epochs are a way to partition the time elapsed so that when overruns occur, one can + * determine which parts of an operation consumed the most time. + * * @param epochName The name to associate with the epoch. */ public void addEpoch(String epochName) {