Get running time of a thread java -
How can I get a thread to runtime in java like: 00:30 minute thread [n] Something has happened ().
I am basically looking to create a log file for programs related to audio files.
Thank you.
You can initially get Also check that one MBean is providing information about threads. System.nanoTime () and then Finally, you can calculate the difference.
Comments
Post a Comment