Skip to content

Commit 7d790ca

Browse files
committed
Renamed nthreads to nthreads-compression
1 parent 76ef566 commit 7d790ca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Detectors/TPC/workflow/include/TPCWorkflow/TPCAggregateCMVSpec.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class TPCAggregateCMVDevice : public o2::framework::Task
101101
mZeroThreshold = ic.options().get<float>("cmv-zero-threshold");
102102
mDynamicPrecisionMean = ic.options().get<float>("cmv-dynamic-precision-mean");
103103
mDynamicPrecisionSigma = ic.options().get<float>("cmv-dynamic-precision-sigma");
104-
mThreads = std::max(1, ic.options().get<int>("nthreads"));
105-
LOGP(info, "CMV aggregation settings: output-dir={}, use-compression-varint={}, use-sparse={}, use-compression-huffman={}, cmv-round-integers-threshold={}, cmv-zero-threshold={}, cmv-dynamic-precision-mean={}, cmv-dynamic-precision-sigma={}, nthreads={}",
104+
mThreads = std::max(1, ic.options().get<int>("nthreads-compression"));
105+
LOGP(info, "CMV aggregation settings: output-dir={}, use-compression-varint={}, use-sparse={}, use-compression-huffman={}, cmv-round-integers-threshold={}, cmv-zero-threshold={}, cmv-dynamic-precision-mean={}, cmv-dynamic-precision-sigma={}, nthreads-compression={}",
106106
mOutputDir, mUseCompressionVarint, mUseSparse, mUseCompressionHuffman, mRoundIntegersThreshold, mZeroThreshold, mDynamicPrecisionMean, mDynamicPrecisionSigma, mThreads);
107107
initIntervalTree();
108108
}
@@ -620,7 +620,7 @@ inline DataProcessorSpec getTPCAggregateCMVSpec(const int lane,
620620
outputSpecs,
621621
AlgorithmSpec{adaptFromTask<TPCAggregateCMVDevice>(lane, crus, timeframes, sendCCDB, usePreciseTimestamp, nTFsBuffer, ccdbRequest)},
622622
Options{{"output-dir", VariantType::String, "none", {"CMV output directory, must exist"}},
623-
{"nthreads", VariantType::Int, 1, {"Number of threads used for CMV per timeframe preprocessing and compression"}},
623+
{"nthreads-compression", VariantType::Int, 1, {"Number of threads used for CMV per timeframe preprocessing and compression"}},
624624
{"use-sparse", VariantType::Bool, false, {"Sparse encoding (skip zero time bins). Alone: raw uint16 values. With --use-compression-varint: varint exact values. With --use-compression-huffman: Huffman exact values"}},
625625
{"use-compression-varint", VariantType::Bool, false, {"Delta+zigzag+varint compression (all values). Combined with --use-sparse: sparse positions + varint encoded exact CMV values"}},
626626
{"use-compression-huffman", VariantType::Bool, false, {"Huffman encoding. Combined with --use-sparse: sparse positions + Huffman-encoded exact CMV values"}},

0 commit comments

Comments
 (0)