From b1fe2d65ed7864ef6958886851ec9e43b1643bd8 Mon Sep 17 00:00:00 2001 From: rahuel Date: Mon, 13 Jun 2005 06:53:12 +0000 Subject: [PATCH] Reactivate traces in debug mode (traces were disabled for check of RTV graph) --- .../DataFlowExecutor_InNodeThreads.cxx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx b/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx index 77c337c..75e7d77 100644 --- a/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx +++ b/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx @@ -70,7 +70,7 @@ static void UpperCase(std::string& rstr) #endif } -#define SendEventTrace 0 +#define SendEventTrace 1 int GraphExecutor::InNode::SendEvent( const GraphExecutor::NodeEvent anEvent ) { _CurrentEvent = (GraphExecutor::NodeEvent ) anEvent ; @@ -133,7 +133,7 @@ int GraphExecutor::InNode::SendEvent( const GraphExecutor::NodeEvent anEvent ) { } -#define ActionsTrace 0 +#define ActionsTrace 1 // ReadyAction - RunningAction - DoneAction - SuspendedAction : // for StateWait( ReadyW - RunningW - DoneW - SuspendedW ) void GraphExecutor::InNode::ReadyAction() { @@ -868,7 +868,7 @@ int GraphExecutor::InNode::VoidAction() { return 1; } -#define SomeDataReadyActionTrace 0 +#define SomeDataReadyActionTrace 1 int GraphExecutor::InNode::DataWaiting_SomeDataReadyAction() { #if SomeDataReadyActionTrace cdebug_in << pthread_self() << "/" << ThreadNo() << " " << Name() @@ -1199,7 +1199,7 @@ int GraphExecutor::InNode::DataWaiting_SomeDataReadyAction() { } -#define TraceDataReadyAction 0 +#define TraceDataReadyAction 1 int GraphExecutor::InNode::DataUndef_NotAllDataReadyAction() { //JR 15.04.2005 Debug PAL8624 RetroConception : // CreateNewThreadIf( false ) ; @@ -1323,7 +1323,7 @@ int GraphExecutor::InNode::DataReady_StopAction() { #include -#define TraceDataReady_ExecuteAction 0 +#define TraceDataReady_ExecuteAction 1 int GraphExecutor::InNode::DataReady_ExecuteAction() { #if TraceDataReady_ExecuteAction @@ -2257,13 +2257,13 @@ void GraphExecutor::InNode::SetWaitingStates(GraphExecutor::InNode * EndNode ) { } } -#define SuccessActionTrace 0 +#define SuccessActionTrace 1 //JR Step B int GraphExecutor::InNode::Successed_SuccessAction() { -//#if SuccessActionTrace +#if SuccessActionTrace cdebug_in << pthread_self() << "/" << ThreadNo() << " Successed_SuccessAction " << Name() << endl; -//#endif +#endif int res = 1; //PAL8624 //JR 15.04.2005 Debug RetroConception : @@ -2763,14 +2763,14 @@ int GraphExecutor::InNode::Successed_SuccessAction() { ThreadNo( 0 ) ; } } -//#if SuccessActionTrace +#if SuccessActionTrace cdebug_out << pthread_self() << "/" << ThreadNo() << " Successed_SuccessAction " << Name() << endl; -//#endif +#endif return 1 ; } -#define SendSomeDataReadyTrace 0 +#define SendSomeDataReadyTrace 1 bool GraphExecutor::InNode::SendSomeDataReady( char * FromNodeName ) { bool RetVal = false ; if ( IsDataFlowNode() ) { @@ -2985,7 +2985,7 @@ int GraphExecutor::InNode::SuspendedErrored_ReStartAndSuspendAction() { return 1 ; } -#define InParametersSetTrace 0 +#define InParametersSetTrace 1 void GraphExecutor::InNode::InParametersSet( bool & Err , int nInParams , ServicesAnyData * InParametersList ) { @@ -3431,7 +3431,7 @@ void GraphExecutor::InNode::InOutParametersSet( int nOutParams , } } -#define OutParametersSetTrace 0 +#define OutParametersSetTrace 1 bool GraphExecutor::InNode::OutParametersSet( bool Err , SUPERV::GraphState PortState , int nOutParams , -- 2.39.2