oxidecomputer / buildomat

a software build labour-saving device
Mozilla Public License 2.0
53 stars 2 forks source link

add hrtime interval to records from the agent #25

Open jclulow opened 1 year ago

jclulow commented 1 year ago

The agent necessarily runs on the same machine as the job, which gives the job itself control over the clock used to provide the time_remote time stored for each job event record. In addition to providing this wall time, we should have the agent provide the monotonic time it read for each event: this time is immune to NTP or other clock adjustments by the job itself, and would at least provide a valuable debugging aid.