Hi, A quick update on my part.
I have figured out how to get both user time and user+sys time on FreeBSD. https://git.anduin.net/haraldei/bsd-thread-time-example This is quite similar to the OpenBSD code by Kurt Miller that was already in the BSD port tree. I have a local patch based on that which replace the existing FreeBSD code with combined code for OpenBSD and FreeBSD. I will need help from someone to add support for NetBSD, though. I'm a bit unsure about what to do next however. Do you want me to submit the changes to the OpenJDK mainline repo? It won't in itself fix BSD support for OpenJDK, but could be one of the many steps on the way. In any case, it should be safe to go on with whatever needs you have for this information, we are able to provide it on the BSD's as well. H!
