Solutions - armtime

armtime is a tool for instrumenting and measuring programs and shell scripts without modifying the source code. Its called with the program and its arguments as arguments to the armtime command itself. For example measuring a shell script just execute the following:

armtime myscript.sh myargs

Solution: Measuring a build

For large software projects a build of a release can by very complex and take very long. With MyARM and the armtime tool you can measure your complete build if you are using the make such as GNU make. Just prefix your make command with armtime as in the following example:

armtime make MAKE="armtime make"

will measure the response time of a build process done with the make utility. The argument passed to make MAKE="armtime make" will in turn call armtime for any subsequence call to the make tool. These nested calls will be correlated using the ARM correlator mechanism. Therefore you can measure your build process without any changes just by invoking the make tool slightly different.

Its also possible to extend the measurement to compilation tasks. Just call your preferred compiler with the armtime command. For example:

armtime make MAKE="armtime make" CC="armtime gcc"

See the documentation of the armtime command for details.