- Udpdated test-holt-widget for resource policy support
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@981 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
17b54f1bfe
commit
689f1c108d
|
@ -42,6 +42,10 @@
|
|||
#include "backend/cpu_policies_gatekeeper.hh"
|
||||
#include "backend/cpu_policy.hh"
|
||||
#include "backend/cpu_policy_manager.hh"
|
||||
#include "backend/resource_policies_gatekeeper.hh"
|
||||
#include "backend/resource_policy.hh"
|
||||
#include "backend/resource_policy_manager.hh"
|
||||
|
||||
#include "backend/history_observer.hh"
|
||||
#include "backend/scheduler.hh"
|
||||
#include "backend/simulation.hh"
|
||||
|
@ -549,6 +553,10 @@ main(int argc, char** argv)
|
|||
info << "gets simulation \n";
|
||||
|
||||
History& hist = Simulation::get_instance().get_history();
|
||||
|
||||
ResourcePolicyManager & rpm = *ResourcePoliciesGatekeeper::get_instance().get_registered().at(0);
|
||||
Simulation::get_instance().set_resource_policy(rpm.get_avail_policies().at(0));
|
||||
|
||||
info << "gets history \n";
|
||||
|
||||
DummyPolicyManager dummy_manager;
|
||||
|
|
Loading…
Reference in New Issue