Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

cputime - calculate CPU time used by current task (BS2000)

&pagelevel(4)&pagelevel

Syntax

#include <stdlib.h>

int cputime(void);

Description cputime() returns the CPU time used by the current task (since LOGON).

Return val.

See also

CPU time used in ten thousandths of a second.

clock(), stdlib.h, section “Scope of the supported C library”.