Skip to content

Commit 892ba99

Browse files
golluxstefano-maggiolo
authored andcommitted
Sandbox: Use isolate with --cg-timing if cgroup are enabled
1 parent 4e4dc43 commit 892ba99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cms/grading/Sandbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def build_box_options(self):
942942
if self.box_id is not None:
943943
res += ["--box-id=%d" % self.box_id]
944944
if self.cgroup:
945-
res += ["--cg"]
945+
res += ["--cg", "--cg-timing"]
946946
if self.chdir is not None:
947947
res += ["--chdir=%s" % self.chdir]
948948
for in_name, out_name, options in self.dirs:

0 commit comments

Comments
 (0)