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("");