[slf4j-user] Visibility of org.slf4j.profiler.TimeInstrumentStatus
mhz4248 at gmail.com
Wed Jun 19 13:09:35 CEST 2013
I'm trying to use the Profiler API to monitor a pair of task. At the end of
each task, I would like to get the non-cumulated elapsed time (ie. only the
time consumed for the said task).
So far the only way I've found is to analyze the profiler child instruments
to get the required information. This is relatively trivial, except for one
thing: TimeInstrumentStatus is package-private, even if
TimeInstrument.getStatus() is public.
Any idea why? This is not absolutely critical for my needs, but would it be
interesting to fill a bug report on this?
Or does someone have another idea on how to get the same information? (the
time-elapsed for the last stopped time instrument?)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slf4j-user