Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: time.h

clock()

IMPORT_C clock_t clock(void);

Description

Return number of clock ticks since process start. Returns the number of clock ticks elapsed. A macro constant called CLK_TCK defines the relation betwen clock tick and second (clock ticks per second).

Return value

clock_t

The number of clock ticks elapsed since start. clock_t type is defined by default as long int by most compilers.