Production: log durations and results for debugging
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user