EV3RT CXX API Reference [English]
An RTOS-based development platform for LEGO Mindstorms EV3.
StopWatch Struct Reference
Inheritance diagram for StopWatch:
stopwatch< detail::us_counter_t >

Public Member Functions

 StopWatch (const bool &run=true)
 
bool isRunning ()
 
void reset (const bool &start=true)
 
time_type getMs ()
 
time_type getUs ()
 
- Public Member Functions inherited from stopwatch< detail::us_counter_t >
 stopwatch (detail::us_counter_t &timer)
 
void init (detail::us_counter_t &timer)
 
void init_stopped (detail::us_counter_t &timer)
 
void clear ()
 
bool running () const
 
void cancel ()
 
void restart ()
 
void start ()
 
void stop ()
 
time_type operator() () const
 
time_type get () const
 
void set (time_type value)
 
void decrease (time_type time)
 

Additional Inherited Members

- Public Types inherited from stopwatch< detail::us_counter_t >
typedef detail::us_counter_t ::time_type time_type
 

Detailed Description

Definition at line 252 of file ev3cxx_time.h.