- virtual simgrid::kernel::resource::Action* sleep(double duration) = 0;
-
- /** @brief Get the amount of cores */
- virtual int get_core_count();
-
- /** @brief Get a forecast of the speed (in flops/s) if the load were as provided.
- *
- * The provided load should encompasses both the application's activities and the external load that come from a trace.
- *
- * Use a load of 1.0 to compute the amount of flops that the Cpu would deliver with one CPU-bound task.
- * If you use a load of 0, this function will return 0: when nobody is using the Cpu, it delivers nothing.
- *
- * If you want to know the amount of flops currently delivered, use load = get_load()*get_speed_ratio()
- */
- virtual double get_speed(double load);