MicrOS
micros_process_user_info Struct Reference

Process information retrieved from the kernel. More...

#include <micros_process.h>

Public Attributes

uint32_t id
 Process ID. More...
 
uint32_t parent_id
 Parent process ID. More...
 
char name [32]
 Process name (ended with 0) More...
 
micros_process_status status
 Current process status. More...
 
float cpu_usage
 Current process CPU usage calculated by the kernel for the last second. More...
 
uint32_t memory_usage
 Current process memory usage calculated by the kernel. More...
 
bool is_thread
 Flag indicating if this is a process or a thread. More...
 

Detailed Description

Process information retrieved from the kernel.

Member Data Documentation

◆ cpu_usage

float micros_process_user_info::cpu_usage

Current process CPU usage calculated by the kernel for the last second.

◆ id

uint32_t micros_process_user_info::id

Process ID.

◆ is_thread

bool micros_process_user_info::is_thread

Flag indicating if this is a process or a thread.

◆ memory_usage

uint32_t micros_process_user_info::memory_usage

Current process memory usage calculated by the kernel.

◆ name

char micros_process_user_info::name[32]

Process name (ended with 0)

◆ parent_id

uint32_t micros_process_user_info::parent_id

Parent process ID.

◆ status

micros_process_status micros_process_user_info::status

Current process status.


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