1PAPI_COST(1) General Commands Manual PAPI_COST(1)
2
3
4
6 papi_cost - computes execution time costs for basic PAPI operations.
7
9 papi_cost [-dhs] [-b bins] [-t threshold]
10
11
12
14 papi_cost is a PAPI utility program that computes the min / max / mean
15 / std. deviation of execution times for PAPI start/stop pairs and for
16 PAPI reads. This information provides the basic operating cost to a
17 user's program for collecting hardware counter data. Command line
18 options control display capabilities.
19
20
21
23 -b <bins>
24 Define the number of bins into which the results are partitioned
25 for display. The default is 100.
26
27
28 -d Display a graphical distribution of costs in a vertical his‐
29 togram.
30
31
32 -h Display help information about this utility.
33
34
35 -s Show the number of iterations in each of the first 10 standard
36 deviations above the mean.
37
38
39 -t <threshold>
40 Set the threshold for the number of iterations to measure costs.
41 The default is 100,000.
42
43
45 There are no known bugs in this utility.
46
47 If you find a bug, it should be reported to the PAPI Mailing List at
48 <ptools-perfapi@ptools.org>.
49
50
52 PAPI(3), papi_avail(1), papi_clockres(1), papi_command_line(1),
53 papi_decode(1), papi_event_chooser(1), papi_mem_info(1),
54 papi_native_avail(1)
55
56
57
58
59 May, 2005 PAPI_COST(1)