From: "Eric Fickes" <[EMAIL PROTECTED]>
Subject: GetTicketCount() - where and when
> Definition:
> Returns a millisecond clock counter that can be used for timing sections of
> CFML code or any other aspects of page processing.
>
> 1.This counter is how long it took the CF server to parse the CF code. EG,
> execution time?
> 2.Is this for the entire page, or just for code contained in between
> <CFOUTPUT> and </CFOUTPUT>?
>
Ticks are based on a server counter that runs the lifetime of the
current boot.
GetTickCount() returns the value of that counter when the
func is called - so it's usefulness is in terms of the diff
between GetTickCount() calls. It is not precise and is
not a diff that equates exactly to x milliseconds of cpu
time - however it is close enough. Doesn't take into
account "server/network burps" or other things that might pause
or delay server ops at the system/network level.
Use the diff under the assumption that the machine and
network are operating smoothly, is acting on your template with
the highest priority and that there are no "burps".
It's relaible enough.
Pan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists