diff options
| author | wukong <wukong@longaeva> | 2026-01-15 01:40:50 -0800 |
|---|---|---|
| committer | wukong <wukong@longaeva> | 2026-01-15 01:40:50 -0800 |
| commit | 4c3980efd9f7071543de978d8dcb73cc1c2444a0 (patch) | |
| tree | 5a90c2697e55a31c7eff781da0988fbbfdae685d | |
| parent | edbd7fe3184849ae9eed72bd40fb4db28b1a6cdd (diff) | |
replaced hardcoded uncertainty with call to unc_g() for the uptime value
collected from /proc/uptime;
| -rw-r--r-- | ckt0.awk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -169,7 +169,8 @@ function ck_uptime(unm) { if (uname ~ /FreeBSD/ || uname ~ /Linux/) { split(ck_proc_uptime(uname), t_pu_meas) - split(merge_meas(t_up_meas[1], t_up_meas[2], t_pu_meas[1], 0.1), t_up_meas) + t_pu_meas[2] = unc_g(t_pu_meas[1]) + split(merge_meas(t_up_meas[1], t_up_meas[2], t_pu_meas[1], t_pu_meas[2]), t_up_meas) } return sigfig(t_up_meas[1], t_up_meas[2]) |
