Re: [PATCHES] timing for \copy

2006-12-14 Thread Andrew Dunstan
Neil Conway wrote: You can also move "elapsed_msec" and "after" inside the "if" block. Thanks. I'll do the other stuff, but I prefer to keep related declarations together. I'm not a huge fan of blindly pushing every declaration to the lowest level possible. I'll commit after I have ma

Re: [PATCHES] timing for \copy

2006-12-13 Thread Neil Conway
On Wed, 2006-12-13 at 11:36 -0500, Andrew Dunstan wrote: > + if (pset.timing) > + { > + GETTIMEOFDAY(&after); > + elapsed_msec = DIFF_MSEC(&after, &before); > + if (success) > + printf(_(