This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_timespec_add

Function Documentation

void rc_timespec_add(timespec *start, double seconds)

Adds an amount of time in seconds to a timespec struct.

The time added is a double-precision floating point value to make respresenting fractions of a second easier. The timespec is passed as a pointer so it can be modified in place. Seconds may be negative.

Parameters
  • start – The start timspec, modified in place

  • seconds[in] The seconds