Production: log durations and results for debugging

This commit is contained in:
2026-06-09 19:53:48 -04:00
parent ad88a5e1c8
commit 4a4c76b5ec
2 changed files with 46 additions and 7 deletions
@@ -28,6 +28,10 @@ extern const smo::stim_buff::SmoCallbacks* smoHooksPtr;
namespace smo {
namespace stim_buff {
#ifndef SMO_PRINT_PCLOUD_COLLATE_RESULTS
#define SMO_PRINT_PCLOUD_COLLATE_RESULTS 1
#endif
OpenClCollatingAndMeshingEngine::OpenClCollatingAndMeshingEngine(
PcloudStimulusProducer& parent_)
: parent(parent_),
@@ -1194,14 +1198,15 @@ OpenClCollatingAndMeshingEngine::compactCollateAndMeshFrameCReq(
}
(void)highIntensityCount;
#if 0
std::cout << __func__ << ": intensityRingBufferIndex="
#if SMO_PRINT_PCLOUD_COLLATE_RESULTS
std::cout << __func__ << ": collate done intensityRingBufferIndex="
<< (intensityStimFrame.has_value() ?
intensityStimFrame->get().ringBufferIndex : SIZE_MAX)
<< ", pointsPerDgram=" << pointsPerDgram
<< ", nSucceeded=" << nSucceeded
<< ", totalPoints=" << totalPoints
<< ", highIntensityCount=" << highIntensityCount << std::endl;
<< " pointsPerDgram=" << pointsPerDgram
<< " nSucceeded=" << nSucceeded
<< " totalPoints=" << totalPoints
<< " highIntensityCount=" << highIntensityCount
<< std::endl;
#endif
co_return success;