function::get_cycles.3stap

Langue: en

Version: September 2010 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

function::get_cycles - Processor cycle count.

SYNOPSIS

     get_cycles:long()
 

ARGUMENTS

None

GENERAL SYNTAX

get_cycles:long

DESCRIPTION

This function returns the processor cycle counter value if available, else it returns zero. The cycle counter is free running and unsynchronized on each processor. Thus, the order of events cannot determined by comparing the results of the get_cycles function on different processors.