Quite a while back I posted a puzzle: Find a number that when divided by 10, remainder is 9; divided by 9 remainder is 8, etc. A number of people responded with correct answer. I was pleasantly surprised to come across a post by kccrosser suggesting how the logic of the program can be modified to gain efficiency. He shed light on some important observations and suggestions. Following on his observation my question is: How to find efficiency on running programs on stand-alone Desktop computers? (For simplicity let us ignore networked). Is there a way I can find the CPU utilization , elapsed time, or some other criteria to see how efficiently one program (Excel, access, vb)is running?
In IBM mainframe, we usually look into CPU time, Disk I/o, elapsed time, etc (this is generally printed at the end of a job).
Any suggestions or ideas?