getTickCount()
--- Tom Woestman <[EMAIL PROTECTED]> wrote:
> 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
>
>
>
Anthony C. Frey
214-529-1507
[EMAIL PROTECTED]
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm