X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/72d32c4e88a57f4786f62fec48a1bfa454adbff9..02a0b077329593921105001a7f27463ba2d82ced:/src/kernel/resource/CpuImpl.hpp diff --git a/src/kernel/resource/CpuImpl.hpp b/src/kernel/resource/CpuImpl.hpp index a7f094c263..3456bfa133 100644 --- a/src/kernel/resource/CpuImpl.hpp +++ b/src/kernel/resource/CpuImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -77,6 +77,8 @@ public: CpuImpl* set_core_count(int core_count); virtual int get_core_count() const { return core_count_; } + bool is_used() const override { return true; } + void seal() override; /** @brief Get a forecast of the speed (in flops/s) if the load were as provided.