From 4184fe938458a6f065ff3d579e220d7b9b31adb7 Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Mon, 4 Oct 2021 16:21:32 -0400 Subject: [PATCH] comment mem_log to fix segment fault --- runtime/src/global_request_scheduler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/global_request_scheduler.c b/runtime/src/global_request_scheduler.c index 9e74327..85611f5 100644 --- a/runtime/src/global_request_scheduler.c +++ b/runtime/src/global_request_scheduler.c @@ -49,9 +49,9 @@ global_request_scheduler_add(struct sandbox_request *sandbox_request) { uint64_t now = __getcycles(); uint64_t arrive_time = now - system_start_timestamp; - mem_log("time %lu request id:%d arrived, name:%s remaining_slack %lu now %lu, sys_start %lu \n", - arrive_time, sandbox_request->id, sandbox_request->module->name, - sandbox_request->remaining_slack, now, system_start_timestamp); + //mem_log("time %lu request id:%d arrived, name:%s remaining_slack %lu now %lu, sys_start %lu \n", + // arrive_time, sandbox_request->id, sandbox_request->module->name, + // sandbox_request->remaining_slack, now, system_start_timestamp); assert(sandbox_request != NULL); return global_request_scheduler.add_fn(sandbox_request); }