From e9a210d75040580a3811aff68383dafc3d058249 Mon Sep 17 00:00:00 2001 From: rahuel Date: Fri, 10 Dec 2004 13:04:14 +0000 Subject: [PATCH] Traces --- src/GraphExecutor/DataFlowExecutor_InNode.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/GraphExecutor/DataFlowExecutor_InNode.cxx b/src/GraphExecutor/DataFlowExecutor_InNode.cxx index 6b31814..c2884eb 100644 --- a/src/GraphExecutor/DataFlowExecutor_InNode.cxx +++ b/src/GraphExecutor/DataFlowExecutor_InNode.cxx @@ -1524,7 +1524,9 @@ bool GraphExecutor::InNode::InitPythonFunctions(bool WithErr ) { const long GraphExecutor::InNode::CpuUsed( bool tot ) { CORBA::Long cpu = 0 ; -// cdebug_in << "GraphExecutor::InNode::CpuUsed( " << tot << " )" << Name() << endl ; + cout << "Begin CpuUsed " << Name() << " CpuUsed : " << cpu << " State " + << theAutomaton->StateName( _currentState ) << endl ; + cdebug_in << "GraphExecutor::InNode::CpuUsed( " << tot << " )" << Name() << endl ; if ( IsOneOfInLineNodes() ) { // cdebug << "CpuUsed " << Name() << " --> PyCpuUsed()" << endl ; // cout << "CpuUsed " << Name() << " --> PyCpuUsed()" << endl ; @@ -1545,8 +1547,9 @@ const long GraphExecutor::InNode::CpuUsed( bool tot ) { } } } -// cdebug_out << "GraphExecutor::InNode::CpuUsed " << Name() << " CpuUsed : " << cpu << endl ; -// cout << "CpuUsed " << Name() << " CpuUsed : " << cpu << endl ; + cdebug_out << "GraphExecutor::InNode::CpuUsed " << Name() << " CpuUsed : " << cpu << endl ; + cout << "End CpuUsed " << Name() << " CpuUsed : " << cpu << " State " + << theAutomaton->StateName( _currentState ) << endl ; return cpu ; } -- 2.30.2