Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'pikachuyann/simgrid-stoprofiles'
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 23 Oct 2020 12:00:24 +0000 (14:00 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 23 Oct 2020 12:00:24 +0000 (14:00 +0200)
1  2 
MANIFEST.in
src/kernel/resource/profile/Profile.cpp
src/kernel/resource/profile/Profile.hpp
src/kernel/resource/profile/Profile_test.cpp
tools/cmake/DefinePackages.cmake

diff --cc MANIFEST.in
Simple merge
@@@ -63,8 -65,17 +65,16 @@@ static std::vector<simgrid::kernel::pro
    return res;
  }
  
+ static std::vector<simgrid::kernel::profile::StochasticDatedValue> trace2selist(const char* str)
+ {
+   simgrid::kernel::profile::Profile* trace = simgrid::kernel::profile::Profile::from_string("TheName", str, 0);
+   std::vector<simgrid::kernel::profile::StochasticDatedValue> stocevlist = trace->stochastic_event_list;
+   tmgr_finalize();
+   return stocevlist;
+ }
  TEST_CASE("kernel::profile: Resource profiles, defining the external load", "kernel::profile")
  {
 -
    SECTION("No event, no loop")
    {
      std::vector<simgrid::kernel::profile::DatedValue> got = trace2vector("");
Simple merge