Structs§
- Median
Filter - | Median filter over a stream of values. | | Returns the median of the last N numbers |
Constants§
Traits§
- Millis
ToTimeval - | Convert milliseconds to a struct timeval | for e.g. select. |
Functions§
- chrono_
sanity_ check - | Sanity check epoch match normal Unix | epoch |
- format_
iso8601date - format_
iso8601date_ time - | ISO 8601 formatting is preferred. Use | the FormatISO8601{DateTime,Date} | helper functions if possible. |
- get_
adjusted_ datetime - get_
adjusted_ time - get_
datetime - get_
mock_ time_ since_ epoch - | For testing |
- get_
system_ time_ since_ epoch - get_
time - get_
time_ micros_ since_ epoch - | Returns the system time (not mockable) |
- get_
time_ millis_ since_ epoch - | Returns the system time (not mockable) |
- get_
time_ offset - | “Never go to sea with two chronometers; | take one or three.” | | Our three time sources are: | | - System clock | | - Median of other nodes clocks | | - The user (asking the user to fix the | system clock if the first two disagree) |
- get_
time_ seconds_ since_ epoch - | Returns the system time (not mockable) | | Like GetTime(), but not mockable
- get_
time_ since_ epoch - | Return system time (or mocked time, | if set) |
- max_
unix_ timestamp - parse_
iso8601date_ time - set_
mock_ time - | For testing. Set e.g. with the setmocktime | rpc, or -mocktime argument |
- uninterruptible_
sleep