W
www
Hi,
I have a Java program. I am running it on RedHat Linux. I want to
measure how long it takes to run it.
One way is to set a timer right at the beginning. At the end measure how
long the time has passed. But this strongly depends on how busy the CPU
is, since there are many users use it. e.g. In the weekend, when there
are few users, my program will run extremely fast. I hope to find out
how much CPU computation time it takes.
I am using Eclipse. I know profiling plug in a little bit. I am not sure
it can give me what I want.
Could you provide me some more information or tips?
Thank you very much.
I have a Java program. I am running it on RedHat Linux. I want to
measure how long it takes to run it.
One way is to set a timer right at the beginning. At the end measure how
long the time has passed. But this strongly depends on how busy the CPU
is, since there are many users use it. e.g. In the weekend, when there
are few users, my program will run extremely fast. I hope to find out
how much CPU computation time it takes.
I am using Eclipse. I know profiling plug in a little bit. I am not sure
it can give me what I want.
Could you provide me some more information or tips?
Thank you very much.