HPCToolkit
display.h
Go to the documentation of this file.
1 // -*-Mode: C++;-*- // technically C99
2 
3 // * BeginRiceCopyright *****************************************************
4 //
5 // --------------------------------------------------------------------------
6 // Part of HPCToolkit (hpctoolkit.org)
7 //
8 // Information about sources of support for research and development of
9 // HPCToolkit is at 'hpctoolkit.org' and in 'README.Acknowledgments'.
10 // --------------------------------------------------------------------------
11 //
12 // Copyright ((c)) 2002-2019, Rice University
13 // All rights reserved.
14 //
15 // Redistribution and use in source and binary forms, with or without
16 // modification, are permitted provided that the following conditions are
17 // met:
18 //
19 // * Redistributions of source code must retain the above copyright
20 // notice, this list of conditions and the following disclaimer.
21 //
22 // * Redistributions in binary form must reproduce the above copyright
23 // notice, this list of conditions and the following disclaimer in the
24 // documentation and/or other materials provided with the distribution.
25 //
26 // * Neither the name of Rice University (RICE) nor the names of its
27 // contributors may be used to endorse or promote products derived from
28 // this software without specific prior written permission.
29 //
30 // This software is provided by RICE and contributors "as is" and any
31 // express or implied warranties, including, but not limited to, the
32 // implied warranties of merchantability and fitness for a particular
33 // purpose are disclaimed. In no event shall RICE or contributors be
34 // liable for any direct, indirect, incidental, special, exemplary, or
35 // consequential damages (including, but not limited to, procurement of
36 // substitute goods or services; loss of use, data, or profits; or
37 // business interruption) however caused and on any theory of liability,
38 // whether in contract, strict liability, or tort (including negligence
39 // or otherwise) arising in any way out of the use of this software, even
40 // if advised of the possibility of such damage.
41 //
42 // ******************************************************* EndRiceCopyright *
43 
44 
45 /******************************************************************************
46  * system includes
47  *****************************************************************************/
48 
49 #include <stdio.h>
50 
51 /*
52  * display.h
53  *
54  * Created on: Jul 28, 2017
55  * Author: la5
56  */
57 
58 #ifndef _SAMPLE_SOURCES_DISPLAY_H_
59 #define _SAMPLE_SOURCES_DISPLAY_H_
60 
61 void display_line_single(FILE *output);
62 
63 void display_line_double(FILE *output);
64 
65 void display_header(FILE *output, const char *title);
66 
67 void display_header_event(FILE *output);
68 
69 void display_event_info(FILE *output, const char *event, const char *desc);
70 
71 #endif /* _SAMPLE_SOURCES_DISPLAY_H_ */
void display_line_double(FILE *output)
Definition: display.c:121
void display_header(FILE *output, const char *title)
Definition: display.c:127
const char * event
Definition: pmu_x86.h:55
void display_event_info(FILE *output, const char *event, const char *desc)
Definition: display.c:142
void display_header_event(FILE *output)
Definition: display.c:135
void display_line_single(FILE *output)
Definition: display.c:115