This method wraps a section of code, so that timings for it will appear in the time log.
This method wraps a section of code, so that timings for it will appear in the time log.
the result type of the body.
the requestId to be timed.
each region to be timed must have a different name.
the code to be timed.
the value of the body. If the body throws an exception than that exception will pass through the Time call.
This object contains methods used to mark regions to be timed in the timing log.
Include this trait in classes you want to time.