Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 70) sorted by relevance

123

/dpdk/lib/eal/common/
H A Deal_common_lcore.c450 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 Dargs.c33 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 Dargs.c29 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 Drun_test.sh32 usage() function
116 usage
121 usage
132 usage
/dpdk/devtools/
H A Ddts-check-format.sh6 usage() { function
22 usage
35 usage
H A Dget-maintainer.sh15 usage: $(basename $0) <patch>
/dpdk/drivers/net/qede/base/
H A Decore_int.c442 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 Decore_int.h48 struct ecore_sb_cnt_info usage; member
/dpdk/examples/multi_process/client_server_mp/mp_client/
H A Dclient.c59 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 Dmain.c20 static const char usage[] = variable
125 printf(usage, app_name); in parse_args()
/dpdk/app/test-pipeline/
H A Dconfig.c44 static const char usage[] = "\n"; variable
49 printf(usage); in app_print_usage()
/dpdk/app/graph/
H A Dmain.c24 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 Dmain.c26 static const char usage[] = variable
137 printf(usage, app_name); in parse_args()
/dpdk/examples/server_node_efd/efd_node/
H A Dnode.c63 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 Dmain.c31 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 Drte_argparse.h21 * 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 DREADME10 For questions and usage discussions, subscribe to: users@dpdk.org
/dpdk/examples/eventdev_pipeline/
H A Dmain.c146 usage(void) in usage() function
250 usage(); in parse_app_args()
260 usage(); in parse_app_args()
/dpdk/lib/eal/include/
H A Drte_lcore.h331 * 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 Dargs.c32 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 Dmain.c42 static const char usage[] = variable
314 printf(usage, argv[0]); in main()
/dpdk/app/test-compress-perf/
H A Dcomp_perf_options_parse.c44 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 Ddevbind.rst24 * ``--help, --usage``
26 Display usage information and quit
H A Dhugepages.rst27 Display usage information and quit
/dpdk/app/test-security-perf/
H A Dtest_security_perf.c411 usage(char *progname) in usage() function
443 usage(argv[0]); in args_parse()
464 usage(argv[0]); in args_parse()

123