CTRE Phoenix C++ 5.33.1
ctre::phoenix::Stopwatch Class Reference

Stopwatch to track time in milliseconds. More...

#include <ctre/phoenix/Stopwatch.h>

Public Member Functions

void Start ()
 Start the stopwatch. More...
 
long long int DurationMs ()
 
double Duration ()
 

Detailed Description

Stopwatch to track time in milliseconds.

Member Function Documentation

◆ Duration()

double ctre::phoenix::Stopwatch::Duration ( )
Returns
Current time elapsed since start in s

◆ DurationMs()

long long int ctre::phoenix::Stopwatch::DurationMs ( )
Returns
Current time elapsed since start in ms

◆ Start()

void ctre::phoenix::Stopwatch::Start ( )

Start the stopwatch.


The documentation for this class was generated from the following file: