I'm doing command line compiling, and thought there might be some switch that would list starting and finishing time, but couldn't find anything. I'm using Windows, and trying to work with the default gcc/g++ from mingw installed with Code::Blocks. Or is there some way of doing this with some shell command? There's got to be a way?
What a neat feature!...and the G++ method is more accurate. To compile my silly little program, my own method reports an average of 0.82 sec versus G++'s report of 0.50 sec - maybe its in the system call. Thanks for the tip gerard!