mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
Document Watchdog epochs better (#1345)
This commit is contained in:
committed by
Peter Johnson
parent
d5d744a390
commit
6171856020
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user