measure only time units (s, ms) and if ms, value must be in ms.