Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
ProcessRuntimeView Struct Reference

#include <process_manager.hpp>

Public Attributes

std::string name
 
std::string base_name
 
std::string command
 
bool running = false
 
bool ever_started = false
 
int pid = -1
 
int exit_code = 0
 
bool enabled = true
 
bool relaunch = false
 
bool tty = false
 
std::vector< std::string > dependencies
 
std::deque< std::string > logs
 
std::string live_line
 
double cpu_percent_per_core = 0.0
 
std::uint32_t thread_count = 0
 
std::uint64_t ram_bytes = 0
 
std::uint32_t cpu_count = 1
 
std::vector< float > cpu_percent_per_core_history
 

Detailed Description

Definition at line 13 of file process_manager.hpp.

Member Data Documentation

◆ base_name

std::string ProcessRuntimeView::base_name

Definition at line 15 of file process_manager.hpp.

◆ command

std::string ProcessRuntimeView::command

Definition at line 16 of file process_manager.hpp.

◆ cpu_count

std::uint32_t ProcessRuntimeView::cpu_count = 1

Definition at line 30 of file process_manager.hpp.

◆ cpu_percent_per_core

double ProcessRuntimeView::cpu_percent_per_core = 0.0

Definition at line 27 of file process_manager.hpp.

◆ cpu_percent_per_core_history

std::vector<float> ProcessRuntimeView::cpu_percent_per_core_history

Definition at line 31 of file process_manager.hpp.

◆ dependencies

std::vector<std::string> ProcessRuntimeView::dependencies

Definition at line 24 of file process_manager.hpp.

◆ enabled

bool ProcessRuntimeView::enabled = true

Definition at line 21 of file process_manager.hpp.

◆ ever_started

bool ProcessRuntimeView::ever_started = false

Definition at line 18 of file process_manager.hpp.

◆ exit_code

int ProcessRuntimeView::exit_code = 0

Definition at line 20 of file process_manager.hpp.

◆ live_line

std::string ProcessRuntimeView::live_line

Definition at line 26 of file process_manager.hpp.

◆ logs

std::deque<std::string> ProcessRuntimeView::logs

Definition at line 25 of file process_manager.hpp.

◆ name

std::string ProcessRuntimeView::name

Definition at line 14 of file process_manager.hpp.

◆ pid

int ProcessRuntimeView::pid = -1

Definition at line 19 of file process_manager.hpp.

◆ ram_bytes

std::uint64_t ProcessRuntimeView::ram_bytes = 0

Definition at line 29 of file process_manager.hpp.

◆ relaunch

bool ProcessRuntimeView::relaunch = false

Definition at line 22 of file process_manager.hpp.

◆ running

bool ProcessRuntimeView::running = false

Definition at line 17 of file process_manager.hpp.

◆ thread_count

std::uint32_t ProcessRuntimeView::thread_count = 0

Definition at line 28 of file process_manager.hpp.

◆ tty

bool ProcessRuntimeView::tty = false

Definition at line 23 of file process_manager.hpp.


The documentation for this struct was generated from the following file: