Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'actor-comms' into 'master'
[simgrid.git] / src / kernel / resource / CpuImpl.hpp
index a7f094c2633c4f736474a93723acbc2c8fc041b4..3456bfa1338001f75ad183abe335b96eca0968af 100644 (file)
@@ -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.