Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Always advertise CpuImpl as used to trigger Engine refresh upon trace event
authorFabien Chaix <chaix@ics.forth.gr>
Fri, 10 Jun 2022 07:21:26 +0000 (10:21 +0300)
committerFabien Chaix <chaix@ics.forth.gr>
Fri, 10 Jun 2022 07:21:26 +0000 (10:21 +0300)
src/kernel/resource/CpuImpl.hpp

index a7f094c..efa4296 100644 (file)
@@ -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 { return true; }
+
   void seal() override;
 
   /** @brief Get a forecast of the speed (in flops/s) if the load were as provided.