ContainerTracer  0.1
Data Fields
tr_info Struct Reference

This structure has the major information of the each process. More...

#include <tr-driver.h>

Collaboration diagram for tr_info:
Collaboration graph

Data Fields

pid_t ppid
 
pid_t pid
 
unsigned int time
 
unsigned int q_depth
 
unsigned int nr_thread
 
unsigned int weight
 
int mqid
 
int shmid
 
int semid
 
unsigned int trace_repeat
 
unsigned int wss
 
unsigned int utilization
 
unsigned int iosize
 
char prefix_cgroup_name [NAME_MAX]
 
char device [NAME_MAX]
 
char scheduler [NAME_MAX]
 
char cgroup_id [NAME_MAX]
 
char trace_replay_path [PATH_MAX]
 
char trace_data_path [PATH_MAX]
 
void * global_config
 
struct tr_infonext
 

Detailed Description

This structure has the major information of the each process.

Field Documentation

◆ cgroup_id

char tr_info::cgroup_id[NAME_MAX]

Current cgroup name. This value must be unique.

◆ device

char tr_info::device[NAME_MAX]

Device name.(e.g. sda, sdb) WARNING, you must not contain the /dev/

◆ global_config

void* tr_info::global_config

runner's global_config information

◆ iosize

unsigned int tr_info::iosize

I/O size of task.

◆ mqid

int tr_info::mqid

Message Queue ID which is shared between parent and child.

◆ next

struct tr_info* tr_info::next

Contain the next tr_info pointer

◆ nr_thread

unsigned int tr_info::nr_thread

The number of thread per task.

◆ pid

pid_t tr_info::pid

Contain the PID of the child's process which is created by parent's fork command. Usually, the child process has this value to 0.

◆ ppid

pid_t tr_info::ppid

Contain the parent's PID. Usually, parent's process has this value to 0

◆ prefix_cgroup_name

char tr_info::prefix_cgroup_name[NAME_MAX]

Cgroup prefix which will be made inside of /sys/fs/cgroup/blkio

◆ q_depth

unsigned int tr_info::q_depth

Queue depth of the benchmark program. Generally, this value is equal to the number of cores.

◆ scheduler

char tr_info::scheduler[NAME_MAX]

Scheduler name(e.g. none, bfq, kyber).

◆ semid

int tr_info::semid

Semaphore ID which is shared betweeen parent and child.

◆ shmid

int tr_info::shmid

Shared Memory ID which is shared between parent and child.

◆ time

unsigned int tr_info::time

Total execution time of benchmark program. (seconds)

◆ trace_data_path

char tr_info::trace_data_path[PATH_MAX]

trace-replay trace data path

◆ trace_repeat

unsigned int tr_info::trace_repeat

The number of repeat of task.

◆ trace_replay_path

char tr_info::trace_replay_path[PATH_MAX]

trace-replay binary path

◆ utilization

unsigned int tr_info::utilization

utilization of task.

◆ weight

unsigned int tr_info::weight

You can use only on BFQ scheduler.

◆ wss

unsigned int tr_info::wss

Working set size.


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