@@ -1221,7 +1221,7 @@ o2::ctf::CTFIOSize EncodedBlocks<H, N, W>::entropyCodeRANSCompat(const input_IT
12211221
12221222 if (!view.empty ()) {
12231223 thisBlock->storeDict (view.size (), view.data ());
1224- LOGP (info , " StoreDict {} bytes, offs: {}:{}" , view.size () * sizeof (W), thisBlock->getOffsDict (), thisBlock->getOffsDict () + view.size () * sizeof (W));
1224+ LOGP (debug , " StoreDict {} bytes, offs: {}:{}" , view.size () * sizeof (W), thisBlock->getOffsDict (), thisBlock->getOffsDict () + view.size () * sizeof (W));
12251225 }
12261226 // vector of incompressible literal symbols
12271227 std::vector<input_t > literals;
@@ -1233,7 +1233,7 @@ o2::ctf::CTFIOSize EncodedBlocks<H, N, W>::entropyCodeRANSCompat(const input_IT
12331233 dataSize = encodedMessageEnd - thisBlock->getDataPointer ();
12341234 thisBlock->setNData (dataSize);
12351235 thisBlock->realignBlock ();
1236- LOGP (info , " StoreData {} bytes, offs: {}:{}" , dataSize * sizeof (W), thisBlock->getOffsData (), thisBlock->getOffsData () + dataSize * sizeof (W));
1236+ LOGP (debug , " StoreData {} bytes, offs: {}:{}" , dataSize * sizeof (W), thisBlock->getOffsData (), thisBlock->getOffsData () + dataSize * sizeof (W));
12371237 // update the size claimed by encode message directly inside the block
12381238
12391239 // store incompressible symbols if any
@@ -1248,13 +1248,13 @@ o2::ctf::CTFIOSize EncodedBlocks<H, N, W>::entropyCodeRANSCompat(const input_IT
12481248 const size_t nLiteralStorageElems = calculateNDestTElements<input_t , storageBuffer_t>(nSymbols);
12491249 std::tie (thisBlock, thisMetadata) = expandStorage (slot, nLiteralStorageElems, buffer);
12501250 thisBlock->storeLiterals (nLiteralStorageElems, reinterpret_cast <const storageBuffer_t*>(literals.data ()));
1251- LOGP (info , " StoreLiterals {} bytes, offs: {}:{}" , nLiteralStorageElems * sizeof (W), thisBlock->getOffsLiterals (), thisBlock->getOffsLiterals () + nLiteralStorageElems * sizeof (W));
1251+ LOGP (debug , " StoreLiterals {} bytes, offs: {}:{}" , nLiteralStorageElems * sizeof (W), thisBlock->getOffsLiterals (), thisBlock->getOffsLiterals () + nLiteralStorageElems * sizeof (W));
12521252 return nLiteralStorageElems;
12531253 }
12541254 return size_t (0 );
12551255 }();
12561256
1257- LOGP (info , " Min, {} Max, {}, size, {}, nSamples {}" , view.getMin (), view.getMax (), view.size (), frequencyTable.getNumSamples ());
1257+ LOGP (debug , " Min, {} Max, {}, size, {}, nSamples {}" , view.getMin (), view.getMax (), view.size (), frequencyTable.getNumSamples ());
12581258
12591259 *thisMetadata = detail::makeMetadataRansCompat<input_t , ransState_t, ransStream_t>(encoder.getNStreams (),
12601260 messageLength,
@@ -1317,7 +1317,7 @@ CTFIOSize EncodedBlocks<H, N, W>::encodeRANSV1External(const input_IT srcBegin,
13171317 const size_t dataSize = std::distance (thisBlock->getCreateData (), encodedMessageEnd);
13181318 thisBlock->setNData (dataSize);
13191319 thisBlock->realignBlock ();
1320- LOGP (info , " StoreData {} bytes, offs: {}:{}" , dataSize * sizeof (storageBuffer_t), thisBlock->getOffsData (), thisBlock->getOffsData () + dataSize * sizeof (storageBuffer_t));
1320+ LOGP (debug , " StoreData {} bytes, offs: {}:{}" , dataSize * sizeof (storageBuffer_t), thisBlock->getOffsData (), thisBlock->getOffsData () + dataSize * sizeof (storageBuffer_t));
13211321 // update the size claimed by encoded message directly inside the block
13221322
13231323 // encode literals
@@ -1329,7 +1329,7 @@ CTFIOSize EncodedBlocks<H, N, W>::encodeRANSV1External(const input_IT srcBegin,
13291329 literalsSize = std::distance (thisBlock->getCreateLiterals (), literalsEnd);
13301330 thisBlock->setNLiterals (literalsSize);
13311331 thisBlock->realignBlock ();
1332- LOGP (info , " StoreLiterals {} bytes, offs: {}:{}" , literalsSize * sizeof (storageBuffer_t), thisBlock->getOffsLiterals (), thisBlock->getOffsLiterals () + literalsSize * sizeof (storageBuffer_t));
1332+ LOGP (debug , " StoreLiterals {} bytes, offs: {}:{}" , literalsSize * sizeof (storageBuffer_t), thisBlock->getOffsLiterals (), thisBlock->getOffsLiterals () + literalsSize * sizeof (storageBuffer_t));
13331333 }
13341334
13351335 // write metadata
@@ -1389,12 +1389,12 @@ CTFIOSize EncodedBlocks<H, N, W>::encodeRANSV1Inplace(const input_IT srcBegin, c
13891389 }
13901390
13911391 const rans::Metrics<input_t >& metrics = encoder.getMetrics ();
1392-
1392+ /*
13931393 if constexpr (sizeof(input_t) > 2) {
13941394 const auto& dp = metrics.getDatasetProperties();
13951395 LOGP(info, "Metrics:{{slot: {}, numSamples: {}, min: {}, max: {}, alphabetRangeBits: {}, nUsedAlphabetSymbols: {}, preferPacking: {}}}", slot, dp.numSamples, dp.min, dp.max, dp.alphabetRangeBits, dp.nUsedAlphabetSymbols, metrics.getSizeEstimate().preferPacking());
13961396 }
1397-
1397+ */
13981398 if (detail::mayPack (opt) && metrics.getSizeEstimate ().preferPacking ()) {
13991399 if (proxy.isCached ()) {
14001400 return pack (proxy.beginCache (), proxy.endCache (), slot, metrics, buffer);
@@ -1417,7 +1417,7 @@ CTFIOSize EncodedBlocks<H, N, W>::encodeRANSV1Inplace(const input_IT srcBegin, c
14171417 const size_t dictSize = std::distance (thisBlock->getCreateDict (), encodedDictEnd);
14181418 thisBlock->setNDict (dictSize);
14191419 thisBlock->realignBlock ();
1420- LOGP (info , " StoreDict {} bytes, offs: {}:{}" , dictSize * sizeof (storageBuffer_t), thisBlock->getOffsDict (), thisBlock->getOffsDict () + dictSize * sizeof (storageBuffer_t));
1420+ LOGP (debug , " StoreDict {} bytes, offs: {}:{}" , dictSize * sizeof (storageBuffer_t), thisBlock->getOffsDict (), thisBlock->getOffsDict () + dictSize * sizeof (storageBuffer_t));
14211421
14221422 // encode payload
14231423 auto encodedMessageEnd = thisBlock->getCreateData ();
@@ -1429,7 +1429,7 @@ CTFIOSize EncodedBlocks<H, N, W>::encodeRANSV1Inplace(const input_IT srcBegin, c
14291429 const size_t dataSize = std::distance (thisBlock->getCreateData (), encodedMessageEnd);
14301430 thisBlock->setNData (dataSize);
14311431 thisBlock->realignBlock ();
1432- LOGP (info , " StoreData {} bytes, offs: {}:{}" , dataSize * sizeof (storageBuffer_t), thisBlock->getOffsData (), thisBlock->getOffsData () + dataSize * sizeof (storageBuffer_t));
1432+ LOGP (debug , " StoreData {} bytes, offs: {}:{}" , dataSize * sizeof (storageBuffer_t), thisBlock->getOffsData (), thisBlock->getOffsData () + dataSize * sizeof (storageBuffer_t));
14331433 // update the size claimed by encoded message directly inside the block
14341434
14351435 // encode literals
@@ -1439,7 +1439,7 @@ CTFIOSize EncodedBlocks<H, N, W>::encodeRANSV1Inplace(const input_IT srcBegin, c
14391439 literalsSize = std::distance (thisBlock->getCreateLiterals (), literalsEnd);
14401440 thisBlock->setNLiterals (literalsSize);
14411441 thisBlock->realignBlock ();
1442- LOGP (info , " StoreLiterals {} bytes, offs: {}:{}" , literalsSize * sizeof (storageBuffer_t), thisBlock->getOffsLiterals (), thisBlock->getOffsLiterals () + literalsSize * sizeof (storageBuffer_t));
1442+ LOGP (debug , " StoreLiterals {} bytes, offs: {}:{}" , literalsSize * sizeof (storageBuffer_t), thisBlock->getOffsLiterals (), thisBlock->getOffsLiterals () + literalsSize * sizeof (storageBuffer_t));
14431443 }
14441444
14451445 // write metadata
@@ -1488,7 +1488,7 @@ o2::ctf::CTFIOSize EncodedBlocks<H, N, W>::pack(const input_IT srcBegin, const i
14881488 thisBlock->realignBlock ();
14891489 }
14901490
1491- LOGP (info , " StoreData {} bytes, offs: {}:{}" , packedSize * sizeof (storageBuffer_t), thisBlock->getOffsData (), thisBlock->getOffsData () + packedSize * sizeof (storageBuffer_t));
1491+ LOGP (debug , " StoreData {} bytes, offs: {}:{}" , packedSize * sizeof (storageBuffer_t), thisBlock->getOffsData (), thisBlock->getOffsData () + packedSize * sizeof (storageBuffer_t));
14921492 return {0 , thisMetadata->getUncompressedSize (), thisMetadata->getCompressedSize ()};
14931493};
14941494
0 commit comments