Salome HOME
Traces
authorrahuel <rahuel@opencascade.com>
Fri, 10 Dec 2004 13:04:14 +0000 (13:04 +0000)
committerrahuel <rahuel@opencascade.com>
Fri, 10 Dec 2004 13:04:14 +0000 (13:04 +0000)
src/GraphExecutor/DataFlowExecutor_InNode.cxx

index 6b318145790f77d6d59a27765c68a296da82faa7..c2884eb8cf8b9d934b7b14bd213a934c7f748221 100644 (file)
@@ -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 ;
 }