Time - (Duration|Elapsed Time)

> (Data|State) Management and Processing > (Data Type|Data Structure) > Time > Time - (Duration|Elapsed Time)

1 - About

Duration or elapsed time is the difference between two timestamps.

Duration may be negative due to:

  • leap second for instance if your process goes in millisecond
  • change in the OS clock if your function doesn't return a monotic time.

When using a non-monotonic clock source is to always check whether the elapsed time is negative.

Called also: Time - Wall Clock ??


3 - Documentation / Reference