1 #ifndef WORK_QUEUE_PROCESS_H
2 #define WORK_QUEUE_PROCESS_H
10 #include <sys/resource.h>
14 #define DOCKER_PRESERVE 2
17 #define MAX_BUFFER_SIZE 4096
35 char *output_file_name;
47 int64_t sandbox_file_count;
52 char container_id[MAX_BUFFER_SIZE];
56 pid_t work_queue_process_execute(
struct work_queue_process *p,
int container_mode, ... );
62 int work_queue_process_measure_disk(
struct work_queue_process *p,
int max_time_on_measurement);
A task description.
Definition: work_queue.h:103
Portable routines for high resolution timing.
UINT64_T timestamp_t
A type to hold the current time, in microseconds since January 1st, 1970.
Definition: timestamp.h:20
Definition: path_disk_size_info.h:13
Query disk space on the given directory.
Definition: work_queue_process.h:24