HPCToolkit
display.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "line_wrapping.h"
Include dependency graph for display.c:

Go to the source code of this file.

Functions

static void printw (FILE *output, const char *name, const char *desc)
 
void display_line_single (FILE *output)
 
void display_line_double (FILE *output)
 
void display_header (FILE *output, const char *title)
 
void display_header_event (FILE *output)
 
void display_event_info (FILE *output, const char *event, const char *desc)
 

Variables

const int MAXBUF = 1024
 
const int MAX_DESC_PER_LINE = 65
 
const int MAX_EVENT_NAME = 15
 
static const char * line_double = "===========================================================================\n"
 
static const char * line_single = "---------------------------------------------------------------------------\n"
 
static const char * newline = "\n"
 

Function Documentation

◆ display_event_info()

void display_event_info ( FILE *  output,
const char *  event,
const char *  desc 
)

Definition at line 142 of file display.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_header()

void display_header ( FILE *  output,
const char *  title 
)

Definition at line 127 of file display.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_header_event()

void display_header_event ( FILE *  output)

Definition at line 135 of file display.c.

Here is the call graph for this function:

◆ display_line_double()

void display_line_double ( FILE *  output)

Definition at line 121 of file display.c.

Here is the caller graph for this function:

◆ display_line_single()

void display_line_single ( FILE *  output)

Definition at line 115 of file display.c.

Here is the caller graph for this function:

◆ printw()

static void printw ( FILE *  output,
const char *  name,
const char *  desc 
)
static

Definition at line 79 of file display.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ line_double

const char* line_double = "===========================================================================\n"
static

Definition at line 69 of file display.c.

◆ line_single

const char* line_single = "---------------------------------------------------------------------------\n"
static

Definition at line 70 of file display.c.

◆ MAX_DESC_PER_LINE

const int MAX_DESC_PER_LINE = 65

Definition at line 66 of file display.c.

◆ MAX_EVENT_NAME

const int MAX_EVENT_NAME = 15

Definition at line 67 of file display.c.

◆ MAXBUF

const int MAXBUF = 1024

Definition at line 65 of file display.c.

◆ newline

const char* newline = "\n"
static

Definition at line 72 of file display.c.