Commit 16b814e4 authored by yangxuserene's avatar yangxuserene

add printf for debug

parent ed014c3e
......@@ -135,6 +135,8 @@ void codes_workload_get_next(
break;
tmp = tmp->next;
}
if(tmp==NULL)
printf("tmp is NULL, rank=%d, app_id = %d", rank, app_id);
assert(tmp);
if(tmp->lifo)
{
......
......@@ -703,7 +703,7 @@ void dumpi_trace_nw_workload_get_next(int app_id, int rank, struct codes_workloa
hash_link = qhash_search(rank_tbl, &cmp);
if(!hash_link)
{
printf("\n not found for rank id %d ", rank);
printf("\n not found for rank id %d , %d", rank, app_id);
op->op_type = CODES_WK_END;
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment