HPCToolkit
hpcrun_stats.h
Go to the documentation of this file.
1 // -*-Mode: C++;-*- // technically C99
2 
3 // * BeginRiceCopyright *****************************************************
4 //
5 // $HeadURL$
6 // $Id$
7 //
8 // --------------------------------------------------------------------------
9 // Part of HPCToolkit (hpctoolkit.org)
10 //
11 // Information about sources of support for research and development of
12 // HPCToolkit is at 'hpctoolkit.org' and in 'README.Acknowledgments'.
13 // --------------------------------------------------------------------------
14 //
15 // Copyright ((c)) 2002-2019, Rice University
16 // All rights reserved.
17 //
18 // Redistribution and use in source and binary forms, with or without
19 // modification, are permitted provided that the following conditions are
20 // met:
21 //
22 // * Redistributions of source code must retain the above copyright
23 // notice, this list of conditions and the following disclaimer.
24 //
25 // * Redistributions in binary form must reproduce the above copyright
26 // notice, this list of conditions and the following disclaimer in the
27 // documentation and/or other materials provided with the distribution.
28 //
29 // * Neither the name of Rice University (RICE) nor the names of its
30 // contributors may be used to endorse or promote products derived from
31 // this software without specific prior written permission.
32 //
33 // This software is provided by RICE and contributors "as is" and any
34 // express or implied warranties, including, but not limited to, the
35 // implied warranties of merchantability and fitness for a particular
36 // purpose are disclaimed. In no event shall RICE or contributors be
37 // liable for any direct, indirect, incidental, special, exemplary, or
38 // consequential damages (including, but not limited to, procurement of
39 // substitute goods or services; loss of use, data, or profits; or
40 // business interruption) however caused and on any theory of liability,
41 // whether in contract, strict liability, or tort (including negligence
42 // or otherwise) arising in any way out of the use of this software, even
43 // if advised of the possibility of such damage.
44 //
45 // ******************************************************* EndRiceCopyright *
46 
47 
48 //***************************************************************************
49 // interface operations
50 //***************************************************************************
51 
52 void hpcrun_stats_reinit(void);
53 
54 //-----------------------------
55 // samples total
56 //-----------------------------
57 
60 
61 
62 //-----------------------------
63 // samples attempted
64 //-----------------------------
65 
68 
69 
70 //-----------------------------
71 // samples blocked async
72 //-----------------------------
73 
76 
77 
78 //-----------------------------
79 // samples blocked dlopen
80 //-----------------------------
81 
84 
85 
86 //-----------------------------
87 // samples dropped
88 //-----------------------------
89 
92 
93 
94 //-----------------------------
95 // partial unwind samples
96 //-----------------------------
97 
100 
101 //----------------------------
102 // samples yielded due to deadlock prevention
103 //----------------------------
104 
105 extern void hpcrun_stats_num_samples_yielded_inc(void);
106 extern long hpcrun_stats_num_samples_yielded(void);
107 
108 //-----------------------------
109 // samples filtered
110 //-----------------------------
111 
114 
115 
116 //-----------------------------
117 // samples segv
118 //-----------------------------
119 
122 
123 
124 //-----------------------------
125 // unwind intervals total
126 //-----------------------------
127 
130 
131 
132 //-----------------------------
133 // unwind intervals suspicious
134 //-----------------------------
135 
138 
139 
140 //------------------------------------------------------
141 // samples that include 1 or more successful troll steps
142 //------------------------------------------------------
143 
144 void hpcrun_stats_trolled_inc(void);
145 long hpcrun_stats_trolled(void);
146 
147 //------------------------------------------------------
148 // total number of (unwind) frames in sample set
149 //------------------------------------------------------
150 
151 void hpcrun_stats_frames_total_inc(long amt);
152 long hpcrun_stats_frames_total(void);
153 
154 //---------------------------------------------------------------------
155 // total number of (unwind) frames in sample set that employed trolling
156 //---------------------------------------------------------------------
157 
158 void hpcrun_stats_trolled_frames_inc(long amt);
159 long hpcrun_stats_trolled_frames(void);
160 
161 //-----------------------------
162 // print summary
163 //-----------------------------
164 
165 void hpcrun_stats_print_summary(void);
void hpcrun_stats_trolled_frames_inc(long amt)
Definition: hpcrun_stats.c:307
void hpcrun_stats_num_unwind_intervals_total_inc(void)
Definition: hpcrun_stats.c:239
void hpcrun_stats_trolled_inc(void)
Definition: hpcrun_stats.c:275
long hpcrun_stats_num_samples_yielded(void)
Definition: hpcrun_stats.c:329
long hpcrun_stats_num_samples_blocked_dlopen(void)
Definition: hpcrun_stats.c:175
void hpcrun_stats_num_unwind_intervals_suspicious_inc(void)
Definition: hpcrun_stats.c:258
long hpcrun_stats_num_samples_blocked_async(void)
Definition: hpcrun_stats.c:156
void hpcrun_stats_frames_total_inc(long amt)
Definition: hpcrun_stats.c:291
void hpcrun_stats_num_samples_yielded_inc(void)
Definition: hpcrun_stats.c:323
long hpcrun_stats_num_samples_partial(void)
Definition: hpcrun_stats.c:209
void hpcrun_stats_reinit(void)
Definition: hpcrun_stats.c:87
void hpcrun_stats_num_samples_dropped_inc(void)
Definition: hpcrun_stats.c:187
long hpcrun_stats_num_samples_total(void)
Definition: hpcrun_stats.c:115
long hpcrun_stats_num_unwind_intervals_suspicious(void)
Definition: hpcrun_stats.c:265
void hpcrun_stats_num_samples_filtered_inc(void)
long hpcrun_stats_num_samples_dropped(void)
Definition: hpcrun_stats.c:193
void hpcrun_stats_num_samples_blocked_async_inc(void)
Definition: hpcrun_stats.c:148
long hpcrun_stats_trolled(void)
Definition: hpcrun_stats.c:281
void hpcrun_stats_num_samples_blocked_dlopen_inc(void)
Definition: hpcrun_stats.c:168
long hpcrun_stats_frames_total(void)
Definition: hpcrun_stats.c:297
void hpcrun_stats_num_samples_total_inc(void)
Definition: hpcrun_stats.c:108
long hpcrun_stats_num_unwind_intervals_total(void)
Definition: hpcrun_stats.c:246
void hpcrun_stats_num_samples_attempted_inc(void)
Definition: hpcrun_stats.c:127
void hpcrun_stats_num_samples_segv_inc(void)
Definition: hpcrun_stats.c:219
long hpcrun_stats_num_samples_filtered(void)
void hpcrun_stats_num_samples_partial_inc(void)
Definition: hpcrun_stats.c:203
long hpcrun_stats_num_samples_attempted(void)
Definition: hpcrun_stats.c:134
void hpcrun_stats_print_summary(void)
Definition: hpcrun_stats.c:339
long hpcrun_stats_trolled_frames(void)
Definition: hpcrun_stats.c:313
long hpcrun_stats_num_samples_segv(void)
Definition: hpcrun_stats.c:226