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 System.nanoTime () and then Finally, you can calculate the difference.

Also check that one MBean is providing information about threads.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -