This software component provides a portable API for a simple timestamp function, equivalent to the Arduino micros API, but with better encapsulation.
micros