Renaming -cnt to -nct for consistency
This commit is contained in:
parent
e77abfa82d
commit
1b064805ed
|
|
@ -307,7 +307,7 @@ public class GATKArgumentCollection {
|
|||
* the benefit of not requiring X times as much memory per thread as data threads do, but rather
|
||||
* only a constant overhead.
|
||||
*/
|
||||
@Argument(fullName="num_cpu_threads_per_data_thread", shortName = "cnt", doc="How many CPU threads should be allocated per data thread to running this analysis?", required = false)
|
||||
@Argument(fullName="num_cpu_threads_per_data_thread", shortName = "nct", doc="How many CPU threads should be allocated per data thread to running this analysis?", required = false)
|
||||
public int numberOfCPUThreadsPerDataThread = 1;
|
||||
|
||||
@Argument(fullName="num_io_threads", shortName = "nit", doc="How many of the given threads should be allocated to IO", required = false)
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ public abstract class MicroScheduler implements MicroSchedulerMBean {
|
|||
}
|
||||
} else {
|
||||
if ( threadAllocation.getNumCPUThreadsPerDataThread() > 1 && ! (walker instanceof NanoSchedulable) )
|
||||
throw badNT("cnt", engine, walker);
|
||||
throw badNT("nct", engine, walker);
|
||||
return new LinearMicroScheduler(engine, walker, reads, reference, rods, threadAllocation);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -280,11 +280,11 @@ public class WalkerTest extends BaseTest {
|
|||
results = executeTest(name + "-nt-" + nt, spec);
|
||||
}
|
||||
|
||||
for ( int cnt : cpuThreads ) {
|
||||
if ( cnt != 1 ) {
|
||||
String extra = " -cnt " + cnt;
|
||||
for ( int nct : cpuThreads ) {
|
||||
if ( nct != 1 ) {
|
||||
String extra = " -nct " + nct;
|
||||
spec.args = originalArgs + extra;
|
||||
results = executeTest(name + "-cnt-" + cnt, spec);
|
||||
results = executeTest(name + "-cnt-" + nct, spec);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue