I don't know if it will be any use to you, but attached is a tiny one function library that just gets the System Nanotime.
From Oracle Docs:
I created it for use in an Android project, but never got round to using it. I would guess that system processing time would make it all but redundant, but it's here if you want to try it. It works on B4j.
Dim N As Nanotime
Log(N.NanoTime)