automotive-dlt
dlt-kpi-common.c File Reference
#include "dlt-kpi-common.h"
Include dependency graph for dlt-kpi-common.c:

Go to the source code of this file.

Functions

DltReturnValue dlt_kpi_read_file_compact (char *filename, char **target)
 
DltReturnValue dlt_kpi_read_file (char *filename, char *buffer, uint maxLength)
 
int dlt_kpi_read_cpu_count ()
 
int dlt_kpi_get_cpu_count ()
 

Variables

static int dlt_kpi_cpu_count = -1
 

Detailed Description

Author
Sven Hassler sven_.nosp@m.hass.nosp@m.ler@m.nosp@m.ento.nosp@m.r.com

Definition in file dlt-kpi-common.c.

Function Documentation

int dlt_kpi_get_cpu_count ( )
int dlt_kpi_read_cpu_count ( )

Definition at line 78 of file dlt-kpi-common.c.

References buffer, BUFFER_SIZE, dlt_kpi_read_file(), and NULL.

Referenced by dlt_kpi_get_cpu_count().

DltReturnValue dlt_kpi_read_file ( char *  filename,
char *  buffer,
uint  maxLength 
)
DltReturnValue dlt_kpi_read_file_compact ( char *  filename,
char **  target 
)

Variable Documentation

int dlt_kpi_cpu_count = -1
static

Definition at line 29 of file dlt-kpi-common.c.

Referenced by dlt_kpi_get_cpu_count().