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;
46 int64_t sandbox_file_count;
51 char container_id[MAX_BUFFER_SIZE];
55 pid_t work_queue_process_execute(
struct work_queue_process *p,
int container_mode, ... );
61 int work_queue_process_measure_disk(
struct work_queue_process *p,
int max_time_on_measurement);
A task description.
Definition: work_queue.h:102
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
int loop_mount
1 if the task sandbox was mounted on a loop device.
Definition: work_queue_process.h:42
Definition: path_disk_size_info.h:13
Query disk space on the given directory.
Definition: work_queue_process.h:24