Supported Browsers Home   
ZTimerInit Previous   
Type Definitions Next   
External Functions Up   

ZTimerInitExt

Initializes the Zen Timer library (extended)

Declaration

void ZAPI ZTimerInitExt(
    ibool accurate)

Prototype In

ztimer.h

Parameters

accurate

True of the speed should be measured accurately

 

Description

This function initializes the Zen Timer library, and must be called before any of the remaining Zen Timer library functions are called. The accurate parameter is used to determine whether highly accurate timing should be used or not. If high accuracy is needed, more time is spent profiling the actual speed of the CPU so that we can obtain highly accurate timing results, but the time spent in the initialisation routine will be significantly longer (on the order of 5 seconds).

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com