[slf4j-dev] [Bug 123] New: [SLF4J-EXT] Profiler doesn' t convert times to secondes when not stopped.

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Mon Dec 22 13:50:49 CET 2008


http://bugzilla.slf4j.org/show_bug.cgi?id=123

           Summary: [SLF4J-EXT] Profiler doesn't convert times to secondes
                    when not stopped.
           Product: SLF4J
           Version: 1.5.x
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Unspecified
        AssignedTo: dev at slf4j.org
        ReportedBy: sebastien at qos.ch


Hello Ceki,

I've experienced a strange behaviour when using the Profile class:

Let's say I have a main profiler, with several nested ones. If I forget to stop
the main profiler, the times that are logged are all in nanoseconds.

On the contrary, if I stop the main profiler, then all times are converted to
secondes before printing.

Shouldn't the convertion be made everytime, even if I forget the call to the
stop() method?

Sébastien

ps: there is no "slf4j-ext" component in bugzilla... you might want to add it
to the list :)


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list