Quicksilver
Quicksilver copied to clipboard
Add Caliper support
Adds support for profiling with Caliper. When enabled, forwards the built-in timed regions to Caliper and records parameters and figure-of-merit in Adiak. Caliper measurements can be enabled with the --caliper-config switch or with the CALI_CONFIG environment. Example:
$ ./qs --caliper-config runtime-report,calc.inclusive
[...]
Path Min time/rank Max time/rank Avg time/rank Time %
main 5.737632 5.737632 5.737632 98.042800
mainloop 5.737514 5.737514 5.737514 98.040779
cycleInit 0.557564 0.557564 0.557564 9.527477
cycleTracking 5.174895 5.174895 5.174895 88.426925
cycleTracking_Kernel 5.107095 5.107095 5.107095 87.268383
cycleTracking_MPI 0.064550 0.064550 0.064550 1.103012
cycleFinalize 0.002067 0.002067 0.002067 0.035317