automotive-dlt
|
#include "dlt-kpi-common.h"
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 |
Definition in file dlt-kpi-common.c.
int dlt_kpi_get_cpu_count | ( | ) |
Definition at line 109 of file dlt-kpi-common.c.
References dlt_kpi_cpu_count, and dlt_kpi_read_cpu_count().
Referenced by dlt_kpi_process_update_cpu_time(), and dlt_kpi_process_update_io_wait().
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 | ||
) |
Definition at line 55 of file dlt-kpi-common.c.
References DLT_RETURN_ERROR, DLT_RETURN_OK, DLT_RETURN_WRONG_PARAMETER, and NULL.
Referenced by dlt_kpi_log_interrupts(), dlt_kpi_read_cpu_count(), and dlt_kpi_read_file_compact().
DltReturnValue dlt_kpi_read_file_compact | ( | char * | filename, |
char ** | target | ||
) |
Definition at line 31 of file dlt-kpi-common.c.
References buffer, BUFFER_SIZE, dlt_kpi_read_file(), DLT_RETURN_ERROR, DLT_RETURN_OK, DLT_RETURN_WRONG_PARAMETER, and NULL.
Referenced by dlt_kpi_read_process_file_to_str().
|
static |
Definition at line 29 of file dlt-kpi-common.c.
Referenced by dlt_kpi_get_cpu_count().