bytes_parser.h
Go to the documentation of this file.
1 // Parse memory specifications like "100 MB"
2 // Authors: Adrien Barral, Max Schwarz
3 
4 #ifndef ROSMON_LAUNCH_BYTES_PARSER_H
5 #define ROSMON_LAUNCH_BYTES_PARSER_H
6 
7 #include <cstdint>
8 #include <string>
9 #include <tuple>
10 
11 namespace rosmon
12 {
13 namespace launch
14 {
15 
21 std::tuple<uint64_t, bool> parseMemory(const std::string& memory);
22 
23 }
24 }
25 
26 #endif
std::tuple< uint64_t, bool > parseMemory(const std::string &memory)


rosmon_core
Author(s): Max Schwarz
autogenerated on Sat Jan 9 2021 03:35:43