move the models to the right directory (empty src/surf a bit) The remaining parts of src/surf need to be cleaned before being moved Also, remove almost all #include "surf_interface.hpp"
Update copyright lines for 2023.
Concatenate nested namespaces (sonar).
Update copyright lines for 2022.
cosmetics
move Cpu resource definition where it belongs
refactor Resource::is_used()
cleanups
CPU factors: dynamic factors for CPU - Allows the use of user's callback to change the speed at the update_remaining. - Add a simple example. - Minor improv. for disk - Update changelog - Available only for Cas01 (not ptask or TI)
Reworking user_bound for Exec actions. Avoid using directly surf_action->set_bound to modify action's bound. Actual bound is defined by CPU model, for cas01 is the min of: - user's bound - requested_core*speed*scale. Explicitly deny the use of user_bound_ for ptask and cpuTI. We need proper tests to verify their behavior.
Rename kernel::resource:Cpu to CpuImpl
Use const& for std::string parameter (sonar, again).
Make model name constant
make update_algorithm optional in model creation. Full is default
[sonar] Favor using-declarations.
Remove useless default destructor definitions
Two small sonar fixes - dead stores - default destructor should not even be written
Remove useless declaration of default destructor. Remove public destructors defined '=default' at declaration, unless they are virtual and the enclosing class is derived somewhere.
continue to fluentify Cpu creation. Fix FG37 on the way
Use default parameter value instead of having an overload just for that