- Corrected get_front() issues.
- Widget tests are now working properly. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@990 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
4b3cce6bea
commit
47d4fe65b4
10 changed files with 49 additions and 30 deletions
|
@ -41,6 +41,9 @@
|
|||
#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"
|
||||
|
@ -419,6 +422,9 @@ main(int argc, char** argv)
|
|||
History& hist = Simulation::get_instance().get_history();
|
||||
info << "gets history \n";
|
||||
|
||||
ResourcePolicyManager & rpm = *ResourcePoliciesGatekeeper::get_instance().get_registered().at(0);
|
||||
Simulation::get_instance().set_resource_policy(rpm.get_avail_policies().at(0));
|
||||
|
||||
DummyPolicyManager dummy_manager;
|
||||
|
||||
const std::vector<CPUPolicy*>& policies = dummy_manager.get_avail_policies();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue