Skip to content
Snippets Groups Projects
Commit 4c3914f5 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: add a MsgDevMacro to show what objects are visited

parent 610975f4
Branches
Tags
No related merge requests found
...@@ -61,7 +61,7 @@ void ...@@ -61,7 +61,7 @@ void
PipelineMemoryPrintCalculator PipelineMemoryPrintCalculator
::Compute() ::Compute()
{ {
// Clear the visisted process objects set // Clear the visited process objects set
m_VisitedProcessObjects.clear(); m_VisitedProcessObjects.clear();
// Dry run of pipeline synchronisation // Dry run of pipeline synchronisation
...@@ -96,6 +96,7 @@ PipelineMemoryPrintCalculator::MemoryPrintType ...@@ -96,6 +96,7 @@ PipelineMemoryPrintCalculator::MemoryPrintType
PipelineMemoryPrintCalculator PipelineMemoryPrintCalculator
::EvaluateMemoryPrint(ProcessObjectType * process) ::EvaluateMemoryPrint(ProcessObjectType * process)
{ {
otbMsgDevMacro(<< "EvaluateMemoryPrint for " << process->GetNameOfClass() << " (" << process << ")")
// This variable will store the final print // This variable will store the final print
MemoryPrintType print = 0; MemoryPrintType print = 0;
...@@ -150,6 +151,7 @@ PipelineMemoryPrintCalculator::MemoryPrintType ...@@ -150,6 +151,7 @@ PipelineMemoryPrintCalculator::MemoryPrintType
PipelineMemoryPrintCalculator PipelineMemoryPrintCalculator
::EvaluateDataObjectPrint(DataObjectType * data) const ::EvaluateDataObjectPrint(DataObjectType * data) const
{ {
otbMsgDevMacro(<< "EvaluateMemoryPrint for " << data->GetNameOfClass() << " (" << data << ")")
#define OTB_IMAGE_SIZE_BLOCK(type) \ #define OTB_IMAGE_SIZE_BLOCK(type) \
if(dynamic_cast<itk::Image<type, 2> *>(data) != NULL) \ if(dynamic_cast<itk::Image<type, 2> *>(data) != NULL) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment