Skip to content

Commit

Permalink
Add header/legend line to kp_reader (#223)
Browse files Browse the repository at this point in the history
* Add header/legend line to kp_reader

describing what each column means

* formatting

* Add a space to header, matching region/kernel lines
  • Loading branch information
brian-kelley authored Jan 5, 2024
1 parent 0becae4 commit 04fe2cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions profiling/simple-kernel-timer/kp_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ int main(int argc, char* argv[]) {
}
}

printf(
" (Type) Total Time, Call Count, Avg. Time per Call, %%Total Time in "
"Kernels, %%Total Program Time\n");
printf(
"------------------------------------------------------------------------"
"-\n\n");

printf("Regions: \n\n");

for (unsigned int i = 0; i < kernelInfo.size(); i++) {
Expand Down

0 comments on commit 04fe2cd

Please sign in to comment.