Debug: Silence excessive prints

This commit is contained in:
2025-12-02 16:22:23 -04:00
parent 5dffbd0c91
commit dc5587bfcc
2 changed files with 4 additions and 0 deletions
@@ -1202,6 +1202,7 @@ public:
} }
} }
#if 0
// Print all averages above thresholds from average intensity buffer // Print all averages above thresholds from average intensity buffer
if (context->ambienceStimFrame.has_value()) if (context->ambienceStimFrame.has_value())
{ {
@@ -1250,6 +1251,7 @@ public:
<< ", nSucceeded=" << nSucceeded << ", nSucceeded=" << nSucceeded
<< ", totalPoints=" << totalPoints << ", totalPoints=" << totalPoints
<< ", highIntensityCount=" << highIntensityCount << std::endl; << ", highIntensityCount=" << highIntensityCount << std::endl;
#endif
callOriginalCallback(success); callOriginalCallback(success);
} }
@@ -498,6 +498,7 @@ public:
std::cerr << __func__ << ": Failed to compact and collate frame" << std::endl; std::cerr << __func__ << ": Failed to compact and collate frame" << std::endl;
} else } else
{ {
#if 0
// Print execution durations // Print execution durations
auto assemblyDuration = pcloudProducer.ioUringAssemblyEngine.getAssemblyDuration(); auto assemblyDuration = pcloudProducer.ioUringAssemblyEngine.getAssemblyDuration();
auto compactDuration = pcloudProducer.openClCollatingAndMeshingEngine.getCompactKernelDuration(); auto compactDuration = pcloudProducer.openClCollatingAndMeshingEngine.getCompactKernelDuration();
@@ -505,6 +506,7 @@ public:
std::cout << __func__ << ": Successfully compacted and collated frame: assemblyDuration=" << assemblyDuration.count() std::cout << __func__ << ": Successfully compacted and collated frame: assemblyDuration=" << assemblyDuration.count()
<< "ms, compactKernelDuration=" << compactDuration.count() << "ms, compactKernelDuration=" << compactDuration.count()
<< "ms, collateKernelDuration=" << collateDuration.count() << "ms" << std::endl; << "ms, collateKernelDuration=" << collateDuration.count() << "ms" << std::endl;
#endif
} }
callOriginalCallback(); callOriginalCallback();