|
Valkka
0.17.0
OpenSource Video Management
|
Auxiliary routines. More...
#include "tools.h"
Functions | |
| long int | getCurrentMsTimestamp () |
| Utility function: returns current unix epoch timestamp in milliseconds. Uses timeval. | |
| long int | getMsDiff (timeval tv1, timeval tv2) |
| Utility function: return timedif of two timeval structs in milliseconds. | |
| struct timeval | msToTimeval (long int mstimestamp) |
| Milliseconds to timeval. | |
| long int | timevalToMs (struct timeval time) |
| bool | slotOk (SlotNumber n_slot) |
| Timeval to milliseconds. More... | |
| void | normalize_timespec (struct timespec *ts, time_t sec, int64_t nanosec) |
| bool slotOk | ( | SlotNumber | n_slot | ) |
Timeval to milliseconds.
Checks the slot number range
1.8.13