1 /* Copyright (c) 2004-2021. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include "simgrid/kernel/ProfileBuilder.hpp"
7 #include "src/kernel/resource/profile/Profile.hpp"
13 Profile* ProfileBuilder::from_string(const std::string& name, const std::string& input, double periodicity)
15 return Profile::from_string(name, input, periodicity);
18 Profile* ProfileBuilder::from_file(const std::string& path)
20 return Profile::from_file(path);
23 } // namespace profile
25 } // namespace simgrid