ThroughputDistribution getThroughputDistribution ( int activeThreads , boolean create ) { if ( activeThreads < coreThreads ) activeThreads = coreThreads ; Integer threads = Integer . valueOf ( activeThreads ) ; ThroughputDistribution throughput = threadStats . get ( threads ) ; if ( ( throughput == null ) && create ) { throughput = new ThroughputDistribution ( ) ; throughput . setLastUpdate ( controllerCycle ) ; threadStats . put ( threads , throughput ) ; } return throughput ; }
Get the throughput distribution data associated with the specified number of active threads .