summaryrefslogtreecommitdiff
path: root/src/lib/time_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* lib, ipcp: Compile on Apple junkdimitri staessens2016-08-301-0/+12
| | | | | | Disables robust mutexes and clock attributes for condition variables for compatibility with OSX (SUSv2). Implements clock_gettime and adds some defines for OSX compatibility in time_utils.
* lib, tools: Add POSIX version to source filesSander Vrijders2016-08-081-0/+1
| | | | | Sometimes the POSIX version was not set in source files. This caused the compiler to not find the timespec struct, since we are using C89.
* tools, lib: cbr tool for bandwidth testingdimitri staessens2016-05-241-0/+141
The tool sends constant bandwidth traffic between a client and a server. cbr --help for more info. Adds time_utils.h to the library containing useful functions for arithmetic with timespec and timeval structures.