

This advocate is mostly useful for applications that have a relatively flat usage pattern with an infrequent spike in usage.
The current implementation increases or decreases its advice by a quarter of the difference between the last received advice and the current.
Definition at line 31 of file GlacialTaskAdvocate.hh.
Public Member Functions | |||||||||||||
| GlacialTaskAdvocate (void) | |||||||||||||
| Default constructor. | |||||||||||||
| virtual | ~GlacialTaskAdvocate (void) | ||||||||||||
| Destructor. | |||||||||||||
| virtual Broker::CPUReserve | PassCPU (Broker::RealTimeTask_ptr rtt, const Broker::CPUReserve &status, const Broker::CPUReserve &advice, const Broker::KeyedReportParameters &krp) throw (CORBA::SystemException) | ||||||||||||
| This method would then be used by adaptation proxies to change the advice parameter to their liking.
| |||||||||||||
Private Attributes | |||||||||||||
| CORBA::ULong | gta_LastAdvice | ||||||||||||
| The last advice reported by this advocate. | |||||||||||||
1.3.9.1