ContainerTracer
0.1
|
This structure has the major information of the each process. More...
#include <docker-driver.h>
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 docker_info * | next |
char | container_id [DOCKER_ID_LEN] |
This structure has the major information of the each process.
char docker_info::cgroup_id[NAME_MAX] |
Current cgroup name. This value must be unique.
char docker_info::container_id[DOCKER_ID_LEN] |
Contain the container_id
char docker_info::device[NAME_MAX] |
Device name.(e.g. sda, sdb) WARNING, you must not contain the /dev/
void* docker_info::global_config |
runner's global_config information
unsigned int docker_info::iosize |
I/O size of task.
int docker_info::mqid |
Message Queue ID which is shared between parent and child.
struct docker_info* docker_info::next |
Contain the next docker_info
pointer
unsigned int docker_info::nr_thread |
The number of thread per task.
pid_t docker_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.
pid_t docker_info::ppid |
Contain the parent's PID. Usually, parent's process has this value to 0
char docker_info::prefix_cgroup_name[NAME_MAX] |
Cgroup prefix which will be made inside of /sys/fs/cgroup/blkio
unsigned int docker_info::q_depth |
Queue depth of the benchmark program. Generally, this value is equal to the number of cores.
char docker_info::scheduler[NAME_MAX] |
Scheduler name(e.g. none, bfq, kyber).
int docker_info::semid |
Semaphore ID which is shared betweeen parent and child.
int docker_info::shmid |
Shared Memory ID which is shared between parent and child.
unsigned int docker_info::time |
Total execution time of benchmark program. (seconds)
char docker_info::trace_data_path[PATH_MAX] |
trace-replay
trace data path
unsigned int docker_info::trace_repeat |
The number of repeat of task.
char docker_info::trace_replay_path[PATH_MAX] |
trace-replay
binary path
unsigned int docker_info::utilization |
utilization of task.
unsigned int docker_info::weight |
You can use only on BFQ scheduler.
unsigned int docker_info::wss |
Working set size.