NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
pcc.c File Reference
#include <stdlib.h>
#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <doca_argp.h>
#include <doca_dev.h>
#include <doca_log.h>
#include <doca_pcc.h>
#include "pcc_core.h"
Include dependency graph for pcc.c:

Go to the source code of this file.

Functions

static void siguser1_handler (int signum)
 
static void sigint_handler (int dummy)
 
int main (int argc, char **argv)
 

Variables

static const char * status_str [DOCA_PCC_PS_ERROR+1] = {"Active", "Standby", "Deactivated", "Error"}
 
static bool host_stop
 
int log_level
 
static bool got_debug_sig
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 74 of file pcc.c.

◆ sigint_handler()

static void sigint_handler ( int  dummy)
static

Definition at line 60 of file pcc.c.

◆ siguser1_handler()

static void siguser1_handler ( int  signum)
static

Definition at line 48 of file pcc.c.

Variable Documentation

◆ got_debug_sig

bool got_debug_sig
static

Definition at line 41 of file pcc.c.

◆ host_stop

bool host_stop
static

Definition at line 39 of file pcc.c.

◆ log_level

int log_level

Definition at line 40 of file pcc.c.

◆ status_str

const char* status_str[DOCA_PCC_PS_ERROR+1] = {"Active", "Standby", "Deactivated", "Error"}
static

Definition at line 38 of file pcc.c.