Hello.
I'm not a developer, I've just looked through the code with vim (gdb
had helped me a lot also).
Kenji HIROHAMA <[EMAIL PROTECTED]> wrote:
> Hi Gleb,
> Thanks for your help.
> (I'm sending again, because first I just sent this only to you to use
> "Reply" of Gmail, not use "Reply to all".)
>
> Well, is "end_timer" calculating the time?
> ----------
> static void end_timer(ulong start_time,char *buff)
> {
> nice_time((double) (start_timer() - start_time) /
> CLOCKS_PER_SEC,buff,1);
> }
> ----------
>
> Regards,
> ----------
> Kenken PA
>
> - Hide quoted text -
>
> On Tue, 08 Mar 2005 11:18:54 +0200, Gleb Paharenko
> <[EMAIL PROTECTED]> wrote:
>> Hello.
>>
>> The time is calculated at mysql client. This is a time of executing query
>>
>> and getting results.
>>
>>
>> > and "nice_time" seemed to me that this function calculate the time.
>>
>> This function formats the time to human-readable format.
>>
>>
>> Kenken PA <[EMAIL PROTECTED]> wrote:
>>
>> > Hi All,
>>
>> > I need to answer the floowing quetions even I'm a newbie of C programming.
>>
>> > Anyone helps me out?
>>
>> >
>>
>> > Q: Using mysql client, after issuing sql statements, we can see how
>>
>> > long it takes to get results, like;
>>
>> >
>>
>> > 1 row in set (0.01 sec)
>>
>> >
>>
>> > Does the time, 0.01 sec in this case, mean what kind of time?
>>
>> >
>>
>> > Is the time calculated at mysql client or at mysqld?
>>
>> >
>>
>> > Time between a point to issue a statement from mysql client, and a
>>
>> > point to get all results to show?
>>
>> >
>>
>> >
>>
>> > I'm checking inside of the source file, \client\mysql.cc,
>>
>> > and "nice_time" seemed to me that this function calculate the time.
>>
>> > However, I'm not sure at all.
>>
>> >
>>
>> > Thanks for your co-operation in advance.
>>
>> >
>>
>> > Kenken PA
>>
>> >
>>
>> --
>> For technical support contracts, goto https://order.mysql.com/?ref=ensita
>> This email is sponsored by Ensita.NET http://www.ensita.net/
>> __ ___ ___ ____ __
>> / |/ /_ __/ __/ __ \/ / Gleb Paharenko
>> / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
>> /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
>> <___/ www.mysql.com
>>
>>
>> --
>> MySQL General Mailing List
>> For list archives: http://lists.mysql.com/mysql
>> To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
>>
>>
>
>
> --
> -------------------------
> Kenji Hirohama
>
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Gleb Paharenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]