#Timespec relativity?
1 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
a modern computer connected to the internet will probably use time servers to keep in sync with earth time
otherwise it will probably just use the internal clock
the standard only says "the number of seconds since an implementation defined epoch" so the reference frame is implementation defined
I see. Really interesting
C23 also defines optional TIME_[THREAD_]ACTIVE to replace clock()
Those should unequivocally measure active processing time
they measure "the implementation's best approximation" of processing time
most computers have internal clocks but in principle a computer could use an external clock to estimate time elapsed
Yeah, that makes sense