SAP CL ABAP RUNTIME



Get Example source ABAP code based on a different SAP table
  


VERSION 5 OUT
• CL_ABAP_RUNTIME ABAP_CLASS

System Class for Runtime Measurements
The static methods CREATE_HR_TIMER and CREATE_LR_TIMER of the class CL_ABAP_RUNTIME can be used to create objects for runtime measurements. The objects contain a method GET_RUNTIME that performs a runtime measurement in the same way as the statement GET RUN TIME.
An object created using CREATE_HR_TIMER performs a measurement with high measurement precision, and an object created using CREATE_LR_TIMER performs a measurement with a lower measurement precision.
In contrast to the statement GET RUN TIME, these objects can be used to perform different measurements with different levels of precision and parallel measurements for each ABAP_ISESS .
Since the execution of the method GET_RUNTIME is approximately two microseconds slower than the execution of the statement GET RUN TIME, in some circumstances this method may not be suitable for the measurement of very short periods of time.



Example ABAP Coding

Runtime measurement with an object.
ABEXA 00866
ABAP_EXAMPLE_END