<div dir="ltr">Hello everyone,<br><br>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).<br>
<br>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.<br>
<br>Any idea why? This is not absolutely critical for my needs, but would it be interesting to fill a bug report on this?<br>Or does someone have another idea on how to get the same information? (the time-elapsed for the last stopped time instrument?)<br>
<br>Thanks!<br>Marc H.<br></div>