Public Member Functions | |||||||||
ExactTaskAdvocate (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. | |||||||||
virtual void | ReportCPU (CORBA::ULong status) throw (CORBA::SystemException, Broker::InvalidStatus) | ||||||||
| |||||||||
Protected Attributes | |||||||||
timeval | eta_LastCPULog | ||||||||
ofstream * | eta_CPULog | ||||||||
timeval | eta_LastAdviceLog | ||||||||
ofstream * | eta_AdviceLog | ||||||||
ofstream * | eta_CompleteLog |
|
Compute a new processing time advice from the given status value. The default implementation will compute the exact amount of processing time required to make the deadline.
Reimplemented in GCTaskAdvocate, GlacialTaskAdvocate, MaxDecayTaskAdvocate, and MaxTaskAdvocate. |