summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/static/Documentation/harness_uptime_txt.txt
blob: 1ab86f7120e3827623fdd65ecdbb9fe617d93a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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