SimGrid  3.18
Versatile Simulation of Distributed Systems
smpi_utils.hpp File Reference
#include "xbt/base.h"
#include <cstddef>
#include <string>
#include <vector>

Classes

struct  s_smpi_factor_t
 

Typedefs

typedef s_smpi_factor_tsmpi_os_factor_t
 

Functions

std::vector< s_smpi_factor_tparse_factor (std::string smpi_coef_string)
 

Typedef Documentation

◆ smpi_os_factor_t

Function Documentation

◆ parse_factor()

std::vector<s_smpi_factor_t> parse_factor ( std::string  smpi_coef_string)

Setup the tokenizer that parses the string

Iterate over patterns like A:B:C:D;E:F;G:H These will be broken down into: A –> B, C, D E –> F G –> H