Logo Search packages:      
Sourcecode: libcaca version File versions  Download package

unsigned int caca_get_rendertime ( void   ) 

Get the average rendering time.

This function returns the average rendering time, which is the average measured time between two caca_refresh() calls, in microseconds. If constant framerate was activated by calling caca_set_delay(), the average rendering time will not be considerably shorter than the requested delay even if the real rendering time was shorter.

Returns:
The render time in microseconds.

Definition at line 1103 of file graphics.c.

{
    return _caca_rendertime;
}


Generated by  Doxygen 1.6.0   Back to index