aboutsummaryrefslogtreecommitdiffstats
path: root/toj/center/src/judgk.h
diff options
context:
space:
mode:
Diffstat (limited to 'toj/center/src/judgk.h')
-rwxr-xr-xtoj/center/src/judgk.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/toj/center/src/judgk.h b/toj/center/src/judgk.h
new file mode 100755
index 0000000..18f9a6c
--- /dev/null
+++ b/toj/center/src/judgk.h
@@ -0,0 +1,16 @@
+struct judgk_proc_info{
+ struct hlist_node node;
+ struct list_head list;
+
+ struct task_struct *task;
+ struct file *std_in;
+ struct file *std_out;
+ char run_path[PATH_MAX + 1];
+ int status;
+ unsigned long timelimit;
+ unsigned long jiff_start;
+ unsigned long jiff_end;
+ unsigned long memlimit;
+ unsigned long runtime;
+ unsigned long memory;
+};