Erriez Timestamp library for Arduino  1.1.0
TM1638 button and LED controller library for Arduino
Public Member Functions | List of all members
TimestampMicros Class Reference

TimestampMicros class derived from Timestamp. More...

#include <ErriezTimestamp.h>

Inheritance diagram for TimestampMicros:
Inheritance graph
[legend]
Collaboration diagram for TimestampMicros:
Collaboration graph
[legend]

Public Member Functions

void start () override
 Start measurement in microseconds.
 
unsigned long delta () override
 End measurement. More...
 
void print () override
 Print measurement in microseconds. More...
 

Detailed Description

TimestampMicros class derived from Timestamp.

Definition at line 57 of file ErriezTimestamp.h.

Member Function Documentation

◆ delta()

unsigned long TimestampMicros::delta ( )
overridevirtual

End measurement.

Returns
Duration in micro seconds

Implements Timestamp.

Definition at line 58 of file ErriezTimestamp.cpp.

◆ print()

void TimestampMicros::print ( )
overridevirtual

Print measurement in microseconds.

Print millis() - start time and restart measurement

Returns
Duration in microseconds

Implements Timestamp.

Definition at line 70 of file ErriezTimestamp.cpp.


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