I don't think you have any other options. The debugging information
(template execution time, etc. ) is not exposed. The count function is
accurate, it's as "built in" as anything else would be.
 
Daniel

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Tom Woestman
Sent: Tuesday, May 31, 2005 11:38 AM
To: [email protected]
Subject: Request running time


Is anyone aware of a built in CF variable that returns the amount of time
the current request has been processing?  I am working to track an
intermittent timeout problem (30 seconds) that sometimes happens on a
database insert.  The database insert usually requires 20 ms or so.  
 
I am adding code to track how long it takes to process the insert and if it
is overly long do some notification.  I would like to know how long the
request has been processing before the query starts so I can get an idea if
some other part of the code is taking almost all the 30 seconds available to
the request with this final insert being the 'last straw' pushing the
request over the time limit.
 
I am aware I could set a request variable with the getTickCount() value at
the start of the request but would like to avoid this if a built in variable
is available.
 
Thanks in advance for your help,
Tom Woestman
 
 

<<attachment: winmail.dat>>

Reply via email to