views:

31

answers:

1

OS:WinXP

Under UNIX-like environment, we can get execution time by $time ./my_program. I wonder we can get execution time info in Eclipse? Is it possible to do this without a profiler? Thanks.

A: 

You can configure how to run your program. Go to menu Run | Run ... to open up the Run Dialog Window. Add the time command to show the runtime in the console.

Sjoerd
Can you please be more specific where to add time command?
Stan