timestamp9 icon indicating copy to clipboard operation
timestamp9 copied to clipboard

Add support for getting current timestamp in nano second precision.

Open higuoxing opened this issue 1 year ago • 0 comments

This patch adds support for getting current timestamp in nano second precision by using clock_gettime() [1]. I didn't have a Windows machine so I didn't implement it for Windows. Feedbacks are welcome.

[1] https://man7.org/linux/man-pages/man2/clock_gettime.2.html

higuoxing avatar Sep 19 '22 05:09 higuoxing