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 #ifndef SIMGRID_KERNEL_PROFILEBUILDER_HPP
7 #define SIMGRID_KERNEL_PROFILEBUILDER_HPP
9 #include <simgrid/forward.h>
16 * @brief Simple builder for Profile classes.
18 * It can be used to create profiles for links, hosts or disks.
20 class XBT_PUBLIC ProfileBuilder {
22 static Profile* from_file(const std::string& path);
23 static Profile* from_string(const std::string& name, const std::string& input, double periodicity);
26 } // namespace profile
28 } // namespace simgrid
30 #endif /* SIMGRID_KERNEL_PROFILEBUILDER_HPP */