Re: [HACKERS] Measuring execution time

2010-08-10 Thread Mark Kirkwood
On 11/08/10 14:42, Mark Kirkwood wrote: On 10/08/10 19:46, vamsi krishna wrote: Hello all I want to measure the execution time spent running an SQL select query after the plan generation. So precisely I want to put my start timer before createQueryDesc() or ExecutorStart() and end timer after

Re: [HACKERS] Measuring execution time

2010-08-10 Thread Mark Kirkwood
On 10/08/10 19:46, vamsi krishna wrote: Hello all I want to measure the execution time spent running an SQL select query after the plan generation. So precisely I want to put my start timer before createQueryDesc() or ExecutorStart() and end timer after freeQueryDesc() or ExecutorEnd(). Right n

[HACKERS] Measuring execution time

2010-08-10 Thread vamsi krishna
Hello all I want to measure the execution time spent running an SQL select query after the plan generation. So precisely I want to put my start timer before createQueryDesc() or ExecutorStart() and end timer after freeQueryDesc() or ExecutorEnd(). Right now I did so in "spi.c", "explain.c", "pqu