Hello everyone,

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?)

Thanks!
Marc H.
_______________________________________________
slf4j-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-user

Reply via email to