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
rosmon
Definition: diagnostics_publisher.cpp:34
rosmon::launch::parseMemory
std::tuple< uint64_t, bool > parseMemory(const std::string &memory)
Definition: bytes_parser.cpp:18


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Feb 21 2024 04:01:14