1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
/* Copyright (c) 2007-2025. The SimGrid Team. All rights reserved. */
/* 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. */
#ifndef SIMGRID_XBT_PARSE_UNITS_HPP
#define SIMGRID_XBT_PARSE_UNITS_HPP
#include <string>
#include <vector>
double xbt_parse_get_time(const std::string& filename, int lineno, const std::string& string,
const std::string& entity_kind);
double xbt_parse_get_size(const std::string& filename, int lineno, const std::string& string,
const std::string& entity_kind);
double xbt_parse_get_bandwidth(const std::string& filename, int lineno, const std::string& string,
const std::string& entity_kind);
std::vector<double> xbt_parse_get_bandwidths(const std::string& filename, int lineno, const std::string& string,
const std::string& entity_kind);
double xbt_parse_get_speed(const std::string& filename, int lineno, const std::string& string,
const std::string& entity_kind);
std::vector<double> xbt_parse_get_all_speeds(const std::string& filename, int lineno, const std::string& speeds,
const std::string& entity_kind);
#endif
|