]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/ExecImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill commented code.
[simgrid.git] / src / kernel / activity / ExecImpl.hpp
index 22dfb5c00fdd286943f04a2c744eea06ca700425..d75bf41ae8fabeaf550df7c13d7945ae028606c0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-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. */
@@ -42,6 +42,7 @@ public:
   ExecImpl& set_hosts(const std::vector<s4u::Host*>& hosts);
 
   unsigned int get_host_number() const { return static_cast<unsigned>(get_hosts().size()); }
+  int get_thread_count() const { return thread_count_; }
   double get_seq_remaining_ratio();
   double get_par_remaining_ratio();
   double get_remaining() const override;