提交 b9edf3e1 创建 作者: Silas Boyd-Wickizer's avatar Silas Boyd-Wickizer

Update mapbench.c mtrace annotations.

上级 a02648fc
......@@ -42,7 +42,7 @@ thr(void *arg)
int
main(void)
{
mtrace_enable_set(1, "xv6-mapbench");
mtenable("xv6-mapbench");
acquire(&l);
printf(1, "mapbench[%d]: start esp %x\n", getpid(), rrsp());
......@@ -71,7 +71,7 @@ main(void)
for(int i = 0; i < nthread; i++)
wait();
mtrace_enable_set(0, "xv6-mapbench");
mtdisable("xv6-mapbench");
halt();
exit();
}
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论