/* 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. */
/* 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. */
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/split.hpp>
simgrid::kernel::profile::Profile* tmgr_trace_new_from_string(std::string name, std::string input, double periodicity)
{
simgrid::kernel::profile::Profile* tmgr_trace_new_from_string(std::string name, std::string input, double periodicity)
{
simgrid::kernel::profile::Profile* trace = new simgrid::kernel::profile::Profile();
simgrid::kernel::profile::DatedValue* last_event = &(trace->event_list.back());
simgrid::kernel::profile::Profile* trace = new simgrid::kernel::profile::Profile();
simgrid::kernel::profile::DatedValue* last_event = &(trace->event_list.back());