TransferWare / dbug

DBUG - debugging for C and Oracle PL/SQL
https://TransferWare.github.io/dbug/
GNU Lesser General Public License v3.0
0 stars 0 forks source link

The number of digits after the radix for a timestamp is not correct. #5

Closed gpaulissen closed 1 year ago

gpaulissen commented 1 year ago

The number of digits is now three, while some time functions have a resolution of microseconds or even nanoseconds. The number of digits must be determined in the Clock.c routine and published in Clock.h so that the enter and leave print statements can include the correct number. The dbugrpt Perl script must take this into account and it must remain backwards compatible with old logging.

gpaulissen commented 1 year ago

Has been solved in C library and in Perl dbugrpt script. The latter has an option to set the time resolution to display (defaults to 100 i.e. 3 digits).