Added a switch to enable measurement of time took while running a command, at the moment, it registers wall-time.

@jurgenvinju proposed this feature.