summaryrefslogtreecommitdiff
path: root/ckt0.awk (follow)
Commit message (Collapse)AuthorAge
* replaced hardcoded uncertainty with call to unc_g() for the uptime valuewukong2026-01-15
| | | | collected from /proc/uptime;
* adjusted unc_g() to guess an unknown uncertainty by setting it to be a powerwukong2026-01-15
| | | | of ten in the last digit's place;
* added t_up measurement from /proc/uptime for linux and freebsd;wukong2026-01-14
| | | | | added unc_g to algorithmically guess uncertainty when not available, needs further testing and tuning;
* enabled alternate t0 based prediction of t_up;wukong2026-01-13
| | | | | added prediction of t0 baed on new t_meas value; merge t0 prediction with updated (measured) t0 rather than t0_prev;
* added uname case for 'Darwin';wukong2026-01-12
| | | | | | | added seconds case for ck_uptime(); completed ck_time() function to allow different commands for checking time; reverted t_meas estimation to basic subtraction method; adjusted sleep timer from mod 30 to mod 60 in ckt0.sh;
* added digits to sigfig() output;wukong2025-12-23
|
* added commented out alternate uptime prediction;wukong2025-12-21
| | | | | | | changed to merge_meas() of t_meas[] estimate when t[before] == t[after], this provides a sub-second uncertainty when used with systime() and helps derived estimates converge; set shell script to use uncertainty based sleep time in main loop;
* started tracking t_est[] and t_up[];wukong2025-12-10
| | | | | | | refactored code, moving math from ck_uptime() to BEGIN block; switched to using t_up(new) = t_up(old) + dt to predict uptime; added conditional use of "date +%s.%N" to get t as float on FreeBSD; merged some changes between ckt0.awk and ckcptime.awk;
* merged changes from FreeBSD environment;wukong2025-12-06
|
* clean up unused code;wukong2025-12-05
|
* added uname check in ck_boottime(); updated variable names in merge_meas();wukong2025-12-05
|
* initial commit. ckt0.awk is launched from ckt0.sh with state stored in a ↵wukong2025-11-22
shell variable.