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

TimestampMillis class derived from Timestamp. More...

#include <ErriezTimestamp.h>

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

Public Member Functions

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

Detailed Description

TimestampMillis class derived from Timestamp.

Definition at line 68 of file ErriezTimestamp.h.

Member Function Documentation

◆ delta()

unsigned long TimestampMillis::delta ( )
overridevirtual

End measurement.

Returns
Duration in milliseconds

Implements Timestamp.

Definition at line 94 of file ErriezTimestamp.cpp.

◆ print()

void TimestampMillis::print ( )
overridevirtual

Print measurement in milliseconds.

Print millis() - start time and restart measurement

Returns
Duration in milliseconds

Implements Timestamp.

Definition at line 106 of file ErriezTimestamp.cpp.


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