Package org.broadinstitute.gatk.utils.threading

Examples of org.broadinstitute.gatk.utils.threading.ThreadEfficiencyMonitor


                                   final Collection<ReferenceOrderedDataSource> rods,
                                   final ThreadAllocation threadAllocation) {
        super(engine, walker, reads, reference, rods, threadAllocation);

        if ( threadAllocation.monitorThreadEfficiency() )
            setThreadEfficiencyMonitor(new ThreadEfficiencyMonitor());
    }
View Full Code Here


     * @return a string representation of the percent occupancy of state, or NA is not possible
     */
    @Requires({"engine != null", "state != null"})
    @Ensures("result != null")
    private String getThreadEfficiencyPercent(final GenomeAnalysisEngine engine, final ThreadEfficiencyMonitor.State state) {
        final ThreadEfficiencyMonitor tem = engine.getThreadEfficiencyMonitor();
        return tem == null ? "NA" : String.format("%.2f", tem.getStatePercent(state));
    }
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.utils.threading.ThreadEfficiencyMonitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.