When high-resolution timers are enabled, they do just that. Your nanosleep would then get the resolution of what you asked for. Of course without something like the RT patch, you may hit other latencies in the system.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds