|
libxcoder
3.5.4
|
NETINT T4XX resource monitor utility program. More...
#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <time.h>#include <ctype.h>#include <string.h>#include "ni_defs_logan.h"#include "ni_device_api_logan.h"#include "ni_rsrc_api_logan.h"#include "ni_rsrc_priv_logan.h"#include "ni_util_logan.h"Go to the source code of this file.
Functions | |
| int | argToI (char *numArray) |
| convert number from argv input to integer if safe More... | |
| int | compareInt32_t (const void *a, const void *b) |
| compare two int32_t for qsort More... | |
| unsigned int | get_modules (ni_logan_device_type_t module_type, ni_logan_device_queue_t *coders, char *module_name, int32_t **module_ids, int32_t *best_load_module_id) |
| void | print_perf (ni_logan_device_type_t module_type, ni_logan_device_queue_t *coders, ni_logan_session_context_t *sessionCtxt, int outformattype) |
| print performance data for either decoder or encoder More... | |
| bool | open_and_get_log (ni_logan_device_context_t *p_device_context, ni_logan_session_context_t *p_session_context, void **p_log_buffer, bool gen_log_file) |
| void | dump_fw_log (ni_logan_device_queue_t *coders, ni_logan_session_context_t *sessionCtxt, int devid) |
| int | main (int argc, char *argv[]) |
NETINT T4XX resource monitor utility program.
Definition in file ni_rsrc_mon_logan.c.
| int argToI | ( | char * | numArray | ) |
convert number from argv input to integer if safe
| char | *numArray |
Definition at line 177 of file ni_rsrc_mon_logan.c.
| int compareInt32_t | ( | const void * | a, |
| const void * | b | ||
| ) |
compare two int32_t for qsort
| [in] | const | void *a |
| [in] | const | void *b |
Definition at line 208 of file ni_rsrc_mon_logan.c.
| void dump_fw_log | ( | ni_logan_device_queue_t * | coders, |
| ni_logan_session_context_t * | sessionCtxt, | ||
| int | devid | ||
| ) |
Definition at line 565 of file ni_rsrc_mon_logan.c.
| unsigned int get_modules | ( | ni_logan_device_type_t | module_type, |
| ni_logan_device_queue_t * | coders, | ||
| char * | module_name, | ||
| int32_t ** | module_ids, | ||
| int32_t * | best_load_module_id | ||
| ) |
Definition at line 216 of file ni_rsrc_mon_logan.c.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
print out coders in their current order
Definition at line 636 of file ni_rsrc_mon_logan.c.
| bool open_and_get_log | ( | ni_logan_device_context_t * | p_device_context, |
| ni_logan_session_context_t * | p_session_context, | ||
| void ** | p_log_buffer, | ||
| bool | gen_log_file | ||
| ) |
Definition at line 519 of file ni_rsrc_mon_logan.c.
| void print_perf | ( | ni_logan_device_type_t | module_type, |
| ni_logan_device_queue_t * | coders, | ||
| ni_logan_session_context_t * | sessionCtxt, | ||
| int | outformattype | ||
| ) |
print performance data for either decoder or encoder
| [in] | ni_logan_device_type_t | module_type |
| [in] | ni_logan_device_queue_t | *coders |
| [in] | ni_logan_session_context_t | *sessionCtxt |
query each coder and print out their status
libxcoder query to get status info including load and instances;
Definition at line 276 of file ni_rsrc_mon_logan.c.