Logs the result of a measurement.
The time taken to execute the block of code in seconds.
The block of code to be executed and logged.