1 year ago
#219666
stfn
Measure Java execution time (Real, User, System) like linux command
I have a massive parallel Java-Application and want to measure its execution time the very same way that linux' time
command does it (Real, User, System).
I'm especially interested in the time the application spends in kernel-tasks, i.e. shows suboptimal behavior (the higher the ratio of system/(system+user), the worse the performance).
In bash, there is time
, for C++ there are boost/std chrono
.. Is there anything for Java?
I found OperatingSystemMXBean, but it seems this is a dead end for measuring time in kernel-tasks.
java
time
kernel
benchmarking
execution-time
0 Answers
Your Answer