clock

Syntax

int clock()

Return

The number of clock ticks since the plug-in was started.

Description

Returns the number of clock ticks elapsed since the plug-in was started. You can use this function to measure small differences in time between two events, such as for performance testing in your plugin code.

Example

Also see

time

Comments

Everyone can add their comments about their experiences with this function here. Tips for using it are welcome, too.