Skip to content

Add datum process uptime#71

Merged
luke-jr merged 4 commits intoOCEAN-xyz:masterfrom
jesterhodl:process-uptime
Mar 8, 2025
Merged

Add datum process uptime#71
luke-jr merged 4 commits intoOCEAN-xyz:masterfrom
jesterhodl:process-uptime

Conversation

@jesterhodl
Copy link
Copy Markdown
Contributor

To address #70
To existing current_time_millis() and current_time_micros() I've added current_time_seconds()
It uses clock_gettime() to ensure local time changes (NTP, timezones) don't affect the uptime.
Perhaps will become useful in other places?

@luke-jr luke-jr added the enhancement New feature or request label Feb 25, 2025
@jesterhodl jesterhodl requested a review from luke-jr March 7, 2025 21:18
Co-authored-by: Luke Dashjr <luke_github1@dashjr.org>
@jesterhodl jesterhodl requested a review from luke-jr March 8, 2025 20:54
@luke-jr luke-jr merged commit a59a4a3 into OCEAN-xyz:master Mar 8, 2025
1 check passed
@jesterhodl jesterhodl deleted the process-uptime branch March 9, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants