diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-03 16:29:59 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-05 21:34:27 -0600 |
commit | bd50e8b0f423d50928c129bc884385b50fb1756f (patch) | |
tree | 71b835a2cf084d58994d0060e375ef634c000f32 /cmd/sbc_harness/static/Documentation | |
parent | 45f90d1bf6a5f974ed8bc62b6838b5d2e906a3f8 (diff) |
Add `uptime.txt`
Diffstat (limited to 'cmd/sbc_harness/static/Documentation')
-rw-r--r-- | cmd/sbc_harness/static/Documentation/harness_uptime_txt.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cmd/sbc_harness/static/Documentation/harness_uptime_txt.txt b/cmd/sbc_harness/static/Documentation/harness_uptime_txt.txt new file mode 100644 index 0000000..1ab86f7 --- /dev/null +++ b/cmd/sbc_harness/static/Documentation/harness_uptime_txt.txt @@ -0,0 +1,17 @@ +NAME + /harness/uptime.txt + +DESCRIPTION + Reading this file gives a text string of the format + `sprintf("%uns\n", uptime_ns)` indicating the harness's uptime + in an integer number of nanoseconds. + +BUGS + Using nanoseconds gives the illusion of more precision than + there actually is; the harness' clock only has microsecond + resolution; the last 3 digits of the returned nanosecond count + will always be 0. + +AUTHOR + Copyright (C) 2025 Luke T. Shumaker <lukeshu@lukeshu.com> + SPDX-License-Identifier: AGPL-3.0-or-later |