In a process for providing run time information for computer programs for
controlling industrial robots (robot control programs), a first system
time of a computer system executing the program is determined after the
calling and before the execution of an individual command or a sequence
of individual commands (subroutine). The individual command or the
subroutine is subsequently executed, and a second system time of the
computer system is determined after the execution. The determination of
the system times is carried out on the basis of access times to certain
areas of a program memory of the computer system, which areas
characterize the individual commands or the subroutine. It is thus
possible to carry out run time measurements on robot control programs in
a simple and efficient manner, and the results of these run time
measurements can be used to optimize such programs.