![]() |
libxcoder
3.5.1
|
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... | |
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... | |
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.
int main | ( | int | argc, |
char * | argv[] | ||
) |
print out coders in their current order
Definition at line 522 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 225 of file ni_rsrc_mon_logan.c.