I want eclipse to print out the time a program takes to execute when it runs. I am using Linux Mint, and the shell has a "time" command that I use all the time.
time ./myPgrogram.out
I searched if this was possible and I found a post: Is there an Eclipse plugin to run system shell in the Console?
That allows me to use a console in eclipse, but that sucks, first because if I wanted to use the console, I wouldn't be tunning up eclipse in the first time, and second, because Mint's console is a lot better than the one eclipse provides.
So, I wonder, is it possible to make eclipse print out the "time" a program takes to run every time i click the green triangle on the top and run an executable? If so, how?
I also found this thread, but I am not sure if it can help: Compiling in Eclipse with gcc's -lpthread and -lrt set They use it to link certain commands to eclipse like "-lpthread", I don't know if I can link "time" and print it in the end.