| /dpdk/lib/eal/common/ |
| H A D | eal_common_lcore.c | 450 calc_usage_ratio(const struct rte_lcore_usage *usage) in calc_usage_ratio() argument 452 return usage->total_cycles != 0 ? in calc_usage_ratio() 453 (usage->busy_cycles * 100.0) / usage->total_cycles : (float)0; in calc_usage_ratio() 461 struct rte_lcore_usage usage; in lcore_dump_cb() local 468 memset(&usage, 0, sizeof(usage)); in lcore_dump_cb() 471 if (usage_cb != NULL && usage_cb(lcore_id, &usage) == 0) { in lcore_dump_cb() 473 usage.busy_cycles, usage.total_cycles, in lcore_dump_cb() 474 calc_usage_ratio(&usage)) < 0) { in lcore_dump_cb() 523 format_usage_ratio(char *buf, uint16_t size, const struct rte_lcore_usage *usage) in format_usage_ratio() argument 525 float ratio = calc_usage_ratio(usage); in format_usage_ratio() [all …]
|
| /dpdk/examples/server_node_efd/efd_server/ |
| H A D | args.c | 33 usage(void) in usage() function 137 usage(); in parse_app_args() 143 usage(); in parse_app_args() 149 usage(); in parse_app_args() 155 usage(); in parse_app_args() 161 usage(); in parse_app_args()
|
| /dpdk/examples/multi_process/client_server_mp/mp_server/ |
| H A D | args.c | 29 usage(void) in usage() function 120 usage(); in parse_app_args() 126 usage(); in parse_app_args() 132 usage(); in parse_app_args() 138 usage(); in parse_app_args()
|
| /dpdk/examples/ipsec-secgw/test/ |
| H A D | run_test.sh | 32 usage() function 116 usage 121 usage 132 usage
|
| /dpdk/devtools/ |
| H A D | dts-check-format.sh | 6 usage() { function 22 usage 35 usage
|
| H A D | get-maintainer.sh | 15 usage: $(basename $0) <patch>
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_int.c | 442 u32 usage = 1; in ecore_db_rec_flush_queue() local 454 while (count-- && usage) { in ecore_db_rec_flush_queue() 455 usage = ecore_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT); in ecore_db_rec_flush_queue() 460 if (usage) { in ecore_db_rec_flush_queue() 463 ECORE_DB_REC_INTERVAL * ECORE_DB_REC_COUNT, usage); in ecore_db_rec_flush_queue() 1765 p_info->usage.free_cnt--; in ecore_int_sb_init() 1827 p_info->usage.free_cnt++; in ecore_int_sb_release() 2183 if (p_info->usage.cnt != RESC_NUM(p_hwfn, ECORE_SB) - 1) { in ecore_int_igu_reset_cam() 2187 p_info->usage.cnt); in ecore_int_igu_reset_cam() 2188 p_info->usage.cnt = RESC_NUM(p_hwfn, ECORE_SB) - 1; in ecore_int_igu_reset_cam() [all …]
|
| H A D | ecore_int.h | 48 struct ecore_sb_cnt_info usage; member
|
| /dpdk/examples/multi_process/client_server_mp/mp_client/ |
| H A D | client.c | 59 usage(const char *progname) in usage() function 103 usage(progname); in parse_app_args() 108 usage(progname); in parse_app_args()
|
| /dpdk/examples/pipeline/ |
| H A D | main.c | 20 static const char usage[] = variable 125 printf(usage, app_name); in parse_args()
|
| /dpdk/app/test-pipeline/ |
| H A D | config.c | 44 static const char usage[] = "\n"; variable 49 printf(usage); in app_print_usage()
|
| /dpdk/app/graph/ |
| H A D | main.c | 24 static const char usage[] = "%s EAL_ARGS -- -s SCRIPT [-h HOST] [-p PORT] [--enable-graph-stats] " variable 147 printf(usage, app_name); in app_args_parse()
|
| /dpdk/examples/ip_pipeline/ |
| H A D | main.c | 26 static const char usage[] = variable 137 printf(usage, app_name); in parse_args()
|
| /dpdk/examples/server_node_efd/efd_node/ |
| H A D | node.c | 63 usage(const char *progname) in usage() function 107 usage(progname); in parse_app_args() 112 usage(progname); in parse_app_args()
|
| /dpdk/app/test-gpudev/ |
| H A D | main.c | 31 usage(const char *prog_name) in usage() function 55 usage(argv[0]); in args_parse() 58 usage(argv[0]); in args_parse()
|
| /dpdk/lib/argparse/ |
| H A D | rte_argparse.h | 21 * 3) Support automatic generate usage information. 71 /** Reserved for this library implementation usage. */ 149 const char *usage; 156 const char *usage; global() member
|
| /dpdk/ |
| H A D | README | 10 For questions and usage discussions, subscribe to: users@dpdk.org
|
| /dpdk/examples/eventdev_pipeline/ |
| H A D | main.c | 146 usage(void) in usage() function 250 usage(); in parse_app_args() 260 usage(); in parse_app_args()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_lcore.h | 331 * lcore usage statistics. 347 * Callback to allow applications to report lcore usage. 351 * @param [out] usage 352 * Counters representing this lcore usage. This can never be NULL. 354 * - 0 if fields in usage were updated successfully. The fields that the 359 typedef int (*rte_lcore_usage_cb)(unsigned int lcore_id, struct rte_lcore_usage *usage); 364 * report lcore usage statistics via this callback.
|
| /dpdk/examples/qos_sched/ |
| H A D | args.c | 32 static const char usage[] = variable 70 /* display usage */ 74 printf(usage, prgname, APP_INTERACTIVE_DEFAULT, app_main_core, in app_usage()
|
| /dpdk/examples/rxtx_callbacks/ |
| H A D | main.c | 42 static const char usage[] = variable 314 printf(usage, argv[0]); in main()
|
| /dpdk/app/test-compress-perf/ |
| H A D | comp_perf_options_parse.c | 44 usage(char *progname) in usage() function 695 usage(argv[0]); in comp_perf_options_parse() 707 usage(argv[0]); in comp_perf_options_parse()
|
| /dpdk/doc/guides/tools/ |
| H A D | devbind.rst | 24 * ``--help, --usage`` 26 Display usage information and quit
|
| H A D | hugepages.rst | 27 Display usage information and quit
|
| /dpdk/app/test-security-perf/ |
| H A D | test_security_perf.c | 411 usage(char *progname) in usage() function 443 usage(argv[0]); in args_parse() 464 usage(argv[0]); in args_parse()
|