Refactored log_timing and added total_seconds_last_epoch to monitors #564

For issue #564