X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1d943055fab95c0e240327f426c6ecb0e9e31ee7..3de1c3e1ffc6bed9c16be63acc998cf5928b919a:/src/kernel/resource/profile/Profile_test.cpp diff --git a/src/kernel/resource/profile/Profile_test.cpp b/src/kernel/resource/profile/Profile_test.cpp index 949cbfdc74..137ed43497 100644 --- a/src/kernel/resource/profile/Profile_test.cpp +++ b/src/kernel/resource/profile/Profile_test.cpp @@ -41,7 +41,7 @@ static std::vector trace2vector(const char simgrid::kernel::profile::Profile* trace = simgrid::kernel::profile::Profile::from_string("TheName", str, 0); XBT_VERB("---------------------------------------------------------"); XBT_VERB("data>>\n%s<event_list) + for (auto const& evt : trace->get_event_list()) XBT_VERB("event: d:%lg v:%lg", evt.date_, evt.value_); MockedResource daResource; @@ -71,7 +71,7 @@ static std::vector trace2vector(const char static std::vector trace2selist(const char* str) { const simgrid::kernel::profile::Profile* trace = simgrid::kernel::profile::Profile::from_string("TheName", str, 0); - std::vector stocevlist = trace->stochastic_event_list; + std::vector stocevlist = trace->get_stochastic_event_list(); tmgr_finalize(); return stocevlist; }