Public Member Functions | |||||||||
MaxDecayTaskAdvocate (const Broker::TaskParameters &tp) throw (CORBA::SystemException, Broker::DuplicateTaskParameter, Broker::InvalidTaskParameter, Broker::MissingTaskParameter) | |||||||||
| |||||||||
virtual CORBA::ULong | ComputeAdvice (CORBA::ULong status) throw (CORBA::SystemException, Broker::InvalidStatus) | ||||||||
Compute a new processing time advice from the given status value. | |||||||||
Private Attributes | |||||||||
CORBA::ULong | md_SubMax | ||||||||
unsigned int | md_Decay |
|
Compute a new processing time advice from the given status value. The max implementation will compare the advice reported by the parent class against the current processing time and return the maximum of the two.
Reimplemented from ExactTaskAdvocate. |