CPULOG

Log the cpu usage summary to a file.

SYNOPSIS

cpu [ log ] [ cpufile = string ]

DESCRIPTION

The cpulog statement allows the user to get a summary of cpu usage by the program. The user can select this information to appear on his terminal or have it sent to the standard output. Most of the cpu intensive routines will report to the user the time used.

log
This option specifies whether to start or stop cpu usage logging. A true value enables cpu usage logging, false turns it off. The default is true.

cpufile
This string parameter allows the user to select a file name for the output of cpu usage. The default is to the standard output.

EXAMPLES

cpu log
This command enables cpu reporting to the screen.

cpu log file=foo
This enables the cpu statistics reporting and stores them in file foo.

BUGS

The cpu usage statistics of an algorithm are only as complete as the programmer who implemented the algorithm. The times can be no more accurate than the reporting on the machine the code is running on. This is typically a sixtieth of a second, but may vary. (For example, the Cray X-MP/4 uses 9.5 nanoseconds).