ULZElapsedTime

Compute the elapsed time between two timer counts.

Declaration

ulong ZAPI ULZElapsedTime(
ulong start,
ulong finish)

Prototype In

ztimer.h

Parameters

start | Starting time for elapsed count
finish | Ending time for elapsed count

Return Value

Elapsed timer in resolution counts.

Description

Returns the elapsed time for the Ultra Long Period Zen Timer in units of the timers resolution (1/18th of a second under DOS). This function correctly computes the difference even if a midnight boundary has been crossed during the timing period.

See Also

ULZReadTime, ULZTimerResolution

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