Up to [local] / src / usr.sbin / bgpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 20 19:47:31 2025 UTC (7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_7_BASE,
OPENBSD_7_7,
HEAD
Abstract internal time into monotime and increase resolution to micorseconds monotime is tracking CLOCK_MONOTONIC with microsecond resolution as a 64bit long long type. To avoid type confusion and integer promotion this long long lives inside a struct. The monotime API provides the necessary functions to add, subtract and convert monotimes. OK tb@