提交 a840af36 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

no need to halt after benchmarks since we are no longer using mtrace

上级 9e2a60cb
...@@ -52,7 +52,7 @@ forktree(int depth) ...@@ -52,7 +52,7 @@ forktree(int depth)
mtdisable("xv6-forkexectree"); mtdisable("xv6-forkexectree");
printf(1, "%d: forkexectree OK\n", getpid()); printf(1, "%d: forkexectree OK\n", getpid());
halt(); // halt();
} }
int int
......
...@@ -54,7 +54,7 @@ forktest(void) ...@@ -54,7 +54,7 @@ forktest(void)
mtrace_enable_set(0, "xv6-forktest"); mtrace_enable_set(0, "xv6-forktest");
printf(1, "fork test OK\n"); printf(1, "fork test OK\n");
halt(); // halt();
} }
int int
......
...@@ -51,7 +51,7 @@ forktree(void) ...@@ -51,7 +51,7 @@ forktree(void)
mtdisable("xv6-forktree"); mtdisable("xv6-forktree");
printf(1, "%d: fork tree OK\n", getpid()); printf(1, "%d: fork tree OK\n", getpid());
halt(); // halt();
} }
int int
......
...@@ -72,6 +72,6 @@ main(void) ...@@ -72,6 +72,6 @@ main(void)
wait(); wait();
mtdisable("xv6-mapbench"); mtdisable("xv6-mapbench");
halt(); // halt();
exit(); exit();
} }
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论