millis fonction

Tip: use microseconds for measuring short durations, for better accuracy.