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 is100. 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 is1,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
- centos-stream 9: papi 7.2.0-1.el9 Β· BSD-3-Clause
- centos-stream 9: papi 7.2.0-1.el9 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms