comment mem_log to fix segment fault

main
xiaosuGW 3 years ago
parent e70c74cfbd
commit 4184fe9384

@ -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);
}

Loading…
Cancel
Save