Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[S4U] Make s4u::Host::get_actor_count() available
[simgrid.git] / include / simgrid / s4u / Host.hpp
index db09e0d4d5d36da6699df3b8b3e5b1c059cf1aa6..76eb9000eb54e45d129948f31f5f9c5643babe82 100644 (file)
@@ -97,6 +97,7 @@ public:
   const char* getProperty(const char* key);
   void setProperty(std::string key, std::string value);
   void getProcesses(std::vector<ActorPtr> * list);
+  int get_actor_count() const;
   double getPstateSpeed(int pstate_index);
   int getPstatesCount() const;
   void setPstate(int pstate_index);
@@ -112,7 +113,7 @@ public:
   std::unordered_map<std::string, Storage*> const& getMountedStorages();
 
   void routeTo(Host* dest, std::vector<Link*>& links, double* latency);
-  void routeTo(Host* dest, std::vector<surf::LinkImpl*>& links, double* latency);
+  void routeTo(Host* dest, std::vector<kernel::resource::LinkImpl*>& links, double* latency);
 
   /** Block the calling actor on an execution located on the called host
    *