|
PiImageStreamer
|

Macros | |
| #define | DELTA_TIMESTAMPS(endTS, startTS) ((endTS.tv_sec * 1000000 + endTS.tv_nsec / 1000) - (startTS.tv_sec * 1000000 + startTS.tv_nsec / 1000)) |
This code is developed as part of the MSOE SWE4211 Real Time Systems course, but can be freely used by others.
SWE4211 Real Time Systems is a required course for students studying the discipline of software engineering.
This Software is provided under the License on an "AS IS" basis and without warranties of any kind concerning the Software, including without limitation merchantability, fitness for a particular purpose, absence of defects or errors, accuracy, and non-infringement of intellectual property rights other than copyright. This disclaimer of warranty is an essential part of the License and a condition for the grant of any rights to this Software.
This file implements the behavior for a periodic task. A periodic task is one in which the taskMethod is called once every task period by the run method.
| #define DELTA_TIMESTAMPS | ( | endTS, | |
| startTS | |||
| ) | ((endTS.tv_sec * 1000000 + endTS.tv_nsec / 1000) - (startTS.tv_sec * 1000000 + startTS.tv_nsec / 1000)) |
This macro returns the difference between two timespec values, in microseconds.