Try something like this:

my $start = (times)[0];
# start
# do you query execution here
# done
my $end = (times)[0];
Time: [${\($end - $start)}] seconds to process\n";


mysql sql database
>>On Wed, 21 Nov 2001 13:11:29 +0100, "Christian Andersson" <[EMAIL PROTECTED]>   wrote:

>>----- Original Message -----
>>From: "Gordan Bobic" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Wednesday, November 21, 2001 12:49 PM
>>Subject: Query Execution Time Perl/DBD
>>
>>
>>> Hi.
>>>
>>> How do I get the query execution time from Perl/DBD? MySQL client returns
>>> this in the console window. Is this value available through the Perl DBD
>>> interface?
>>>
>>> Thanks.
>>>
>>> Gordan

Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(225)686-2002
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to