Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
增加了checkCombinationPriority中,pass情况下的输出
  • Loading branch information
lsyel committed Sep 24, 2024
commit 39a29925c0bb30adcea315755294dbd2f423031c
17 changes: 12 additions & 5 deletions src/report.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,20 @@ checkCombinationPriority(const struct CombInfo *ci,
if (core_info->hit_log[backID]->last -
core_info->hit_log[frontID]->first <
distance) {
DEBUG_PRINTF("combination priority not match,front lkey = %u,back "
"lkey = %u,expected more than %u,acutal distance is %llu\n",
frontID, backID, distance,
core_info->hit_log[backID]->last -
core_info->hit_log[frontID]->first);
DEBUG_PRINTF(
"combination priority failed,front lkey = %u,back "
"lkey = %u,expected more than %u,acutal distance is %llu\n",
frontID, backID, distance,
core_info->hit_log[backID]->last -
core_info->hit_log[frontID]->first);
return 0;
}
DEBUG_PRINTF(
"combination priority pass,front lkey = %u,back "
"lkey = %u,expected more than %u,acutal distance is %llu\n",
frontID, backID, distance,
core_info->hit_log[backID]->last -
core_info->hit_log[frontID]->first);
}
return 1;
}
Expand Down