Richard,

The variables you are relating to the Total Execution time (templates/sql
etc) are only available when debugging is turned on - which in a production
level system should never be the case.

If you really need to get access to that information then look at the debug
templates which generate the values you seek.  You can get them (ideally the
classic.cfm) at the following locations:

$:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\debug for a JRun 4
installation

And 

$:\CFusionMX\wwwroot\WEB-INF\debug for a Server Config installation.

Note that you cannot simply take this template and insert it into your code
or you will get UDF errors.  When debugging is switched on it will
automatically include the debugging template specified within the ColdFusion
Administrator.  

Hope this helps you dissect the template to get the info you require.

Neil
Team Macromedia



-----Original Message-----
From: Richard East [mailto:[EMAIL PROTECTED] 
Sent: 30 January 2005 11:12
To: CF-Newbie
Subject: Re: saving the Execution Time

I want to save the Total Execution Time from the Debugger into a database. I
don’t want the tickcount as it is not the same thing. Why top and tail a
script/application with GetTickcount() when there is a perfectly good
variable in ColdFusion already doing this? If it’s some Java running in
the background generating the Total Execution time for the debugger then
I’d like to get hold of it at the end of my program.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:569
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to