Arduino Tinker Library
 All Classes Functions Variables
Public Member Functions | List of all members
Tinker::ScopedTimer Class Reference

A scoped timer. More...

#include <Timings.h>

Public Member Functions

 ScopedTimer (float &time, Timer::TimeUnit unit=Timer::Millisecond)
 Creates the scoped timer.
 
 ~ScopedTimer ()
 Destroys the scoped timer and compute the elapsed time.
 

Detailed Description

A scoped timer.

This class permits to measure time elapsed between this object creation and destruction

Author
Nicola Pezzotti

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