/** * Updates the Thread based Profile Points published by the InstrumentManager. */ private void threadInstruments() { if( m_activeThreadCountInstrument.isActive() ) { // Get the top level thread group. ThreadGroup threadGroup = Thread.currentThread().getThreadGroup(); ThreadGroup parent; while( ( parent = threadGroup.getParent() ) != null ) { threadGroup = parent; } m_activeThreadCountInstrument.setValue( threadGroup.activeCount() ); } }
if ( m_instrumentTime.isActive() )
if( m_instrumentTime.isActive() )