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

php - Creating canonical URLs with custom route-classes -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -

Mysql Local server hardware -