Examples of ThreadEfficiencyMonitor


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

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

     * @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
Copyright © 2018 www.massapi.com. 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.