-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
GetTickCount is just a number. It's fairly meaningless on its own.
I think it's the number of milliseconds since the server was started
or something...
It becomes useful when you have two calls to it:
<cfset StartTime = GetTickCount()>
<!--- Do something long and arduous here... --->
<cfset EndTime = GetTickCount()>
<cfset TotalTime = EndTime - StartTime>
<cfoutput>That took #TotalTime#ms.</cfoutput>
Is it not nifty?
Best regards,
Zac Bedell
========================================
Zachary S. Bedell,
Chief Technology Officer,
Adirondack Technologies, Inc.
Please include original message in any replies -- I get a
lot of email every day, and I have a REALLY bad memory...
So I don't always remember everything that was said.
Thanks!
> -----Original Message-----
> From: Eric Fickes [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 01, 2000 12:26 PM
> To: CF-Talk
> Subject: GetTicketCount() - where and when
>
>
> Hello all,
>
> I'm trying to trim some fat off my code, and I came across
> GetTickCount()
> and had a few questions after reading the definition from my CF
> book.
>
> Definition:
> Returns a millisecond clock counter that can be used for
> timing sections of
> CFML code or any other aspects of page processing.
>
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBOifxlKvhLS1aWPxeEQIXxwCbBAXeL+QbR/5uEtJjY3o/NemYnlcAniQe
OCfHYYYTxWDbOB57Bfn1HFB3
=pYLx
-----END PGP SIGNATURE-----
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists