# getcpuclocks

Returns full precision elapsed CPU clocks.

## Syntax

getcpuclocks( clocks )

## Output Parameters

clocks

  INTEGER*8. Elapsed CPU clocks.

## Description

The getcpuclocks subroutine returns the elapsed CPU clocks.

This may be useful when timing short intervals with high resolution. The getcpuclocks subroutine is also applied in pairs like second/dsecnd. Note that out-of-order code execution on IA-32 or Intel® 64 architecture processors may disturb the exact elapsed CPU clocks value a little bit, which may be important while measuring extremely short time intervals.

Parent topic: Timing Functions