← Back to team overview

percona-discussion team mailing list archive

[Bug 331658] [NEW] Increase waited-at time precision

 

Public bug reported:

Can we increase the precision here from %.2f to something more like %.6f
or even more?  This is in innobase./sync/sync0arr.c:

   fprintf(file,
"--Thread %lu has waited at %s line %lu for %.2f seconds the semaphore:\n",
         (ulong) os_thread_pf(cell->thread), cell->file,
             (ulong) cell->line,
             difftime(time(NULL), cell->reservation_time));

** Affects: percona-patches
     Importance: Undecided
         Status: New

** Affects: percona-xtradb
     Importance: Undecided
         Status: New

-- 
Increase waited-at time precision
https://bugs.launchpad.net/bugs/331658
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona patches.

Status in Patches for MySQL by Percona: New
Status in Percona XtraDB Storage Engine for MySQL: New

Bug description:
Can we increase the precision here from %.2f to something more like %.6f or even more?  This is in innobase./sync/sync0arr.c:

   fprintf(file,
"--Thread %lu has waited at %s line %lu for %.2f seconds the semaphore:\n",
         (ulong) os_thread_pf(cell->thread), cell->file,
             (ulong) cell->line,
             difftime(time(NULL), cell->reservation_time));



Follow ups

References