You're welcome, let me know if you have suggestions!
I'm not sure about this, and I can't personally make tests since I don't have a working linux environment.
By the way, in the libnx library there are some references to the internal clock / offset, but it doesn't seem to have functions to...