RE: dbi_time() - microseconds patch for win32 [DBI 1.32]

2003-02-12 Thread Smejkal Petr
> I believe, perhaps wrongly, that a Win32 build of perl > defined it's own > gettimeofday() which dbi_time() would then use. > > Notice, for example, that XSUB.h contains > #define gettimeofday PerlProc_gettimeofday > > Umm, I'm looking at perl 5.8, maybe it's not in 5.6. I haven't found

Re: dbi_time() - microseconds patch for win32 [DBI 1.32]

2003-02-12 Thread Tim Bunce
On Wed, Feb 12, 2003 at 04:41:34PM +0100, Smejkal Petr wrote: > Tim, > > why don't you take advantage of Time::HiRes instead of your own dbi_time() >implementation. I believe, perhaps wrongly, that a Win32 build of perl defined it's own gettimeofday() which dbi_time() would then use. Notice, fo

dbi_time() - microseconds patch for win32 [DBI 1.32]

2003-02-12 Thread Smejkal Petr
Tim, why don't you take advantage of Time::HiRes instead of your own dbi_time() implementation. If you are afraid of module dependency or you have another good reason for it could you accept the patch below. It will provide microsecond precision for DBI profiling on MSWin32 (at least my MS Visu