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.
@stevel05 , Thank you. I will test it. I want to use timer 1us because b4j could run on my Raspberry Pi. I want to use it control my Servo Motor which work with pulse between 1000us to 2000us.
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.