papi_cost(1)

✨ NAME ✨

okay so bestie, papi_cost β€” it's the papi_cost utility, literally that's it πŸ’…

and the file is papi_cost.c πŸŽ€


🌸 NAME 🌸

papi_cost β€” she computes execution time costs for basic PAPI operations. no cap 🫢


πŸ¦‹ Synopsis πŸ¦‹

papi_cost [-dhps] [-b bins] [-t threshold]

πŸ’– Description πŸ’–

so like, papi_cost is this PAPI utility program that computes the min / max / mean / std. deviation of execution times for PAPI start/stop pairs and for PAPI reads. basically she's out here giving you the receipts on how much it actually costs your program to collect hardware counter data β€” the basic operating cost, the whole vibe check πŸ”₯

and the command line options? they control the display capabilities. iconic behavior tbh πŸ‘‘


⭐ Options ⭐

  • -b < bins > β€” this one defines the number of bins into which the results are partitioned for display. the default is 100. slay 🧚
  • -d β€” displays a graphical distribution of costs in a vertical histogram. visual queen 🌈
  • -h β€” displays help information about this utility. the classic, the mother, the savior 😭
  • -p β€” displays 25/50/75 perecentile results for making boxplots πŸ“Š
  • -s β€” shows the number of iterations in each of the first 10 standard deviations above the mean. fancy πŸŽ€
  • -t < threshold > β€” sets the threshold for the number of iterations to measure costs. the default is 1,000,000. yes, a whole million, she's thorough πŸ’€

πŸ’œ Bugs πŸ’œ

good news bestie β€” there are no known bugs in this utility πŸ™ˆ

but if you do find a bug, it should be reported to the PAPI Mailing List at ptools-perfapi@icl.utk.edu. do your civic duty, king πŸ‘‘βœ¨


that's the whole page, bestie 🫢 this was written for Version 7.2.0.0 and dated Mon Nov 3 2025 β€” go forth and measure those costs, iykyk πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from