diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i b/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i index 777bb86fc5c..772770706b2 100644 --- a/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i +++ b/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i @@ -135,7 +135,8 @@ Task_Entry::effective_execution_time () const ACE_UINT32 worst_case_execution_time = ACE_U64_TO_U32 (rt_info_->worst_case_execution_time); - return (rt_info_->info_type == RtecScheduler::OPERATION) + return ((rt_info_->info_type == RtecScheduler::OPERATION) || + (rt_info_->info_type == RtecScheduler::REMOTE_DEPENDANT)) ? worst_case_execution_time * dispatches_.size () : 0; } |