numam-dpdk/lib/librte_jobstats/rte_jobstats_version.map
Marcin Kerlin 930cd79735 jobstats: add abort function
This patch adds new function rte_jobstats_abort.
It marks *job* as finished and time of this work will be add to management
time instead of execution time.
This function should be used instead of rte_jobstats_finish if condition
occurs, condition is defined by the application for example when receiving
n>0 packets.
Example of usage is added to the example l2fwd-jobstats.
At maximum load do-while loop inside Idle job will be execute once because
one or more jobs waiting to be executed, so this time should not be include
as the execution time by calling rte_jobstats_abort().

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
2016-02-29 11:22:53 +01:00

27 lines
434 B
Plaintext

DPDK_2.0 {
global:
rte_jobstats_context_finish;
rte_jobstats_context_init;
rte_jobstats_context_reset;
rte_jobstats_context_start;
rte_jobstats_finish;
rte_jobstats_init;
rte_jobstats_reset;
rte_jobstats_set_max;
rte_jobstats_set_min;
rte_jobstats_set_period;
rte_jobstats_set_target;
rte_jobstats_set_update_period_function;
rte_jobstats_start;
local: *;
};
DPDK_16.04 {
global:
rte_jobstats_abort;
} DPDK_2.0;