git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: add attribute for number of invocations
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_service.h
diff --git
a/lib/librte_eal/common/include/rte_service.h
b/lib/librte_eal/common/include/rte_service.h
index
460dbbf
..
85e964b
100644
(file)
--- a/
lib/librte_eal/common/include/rte_service.h
+++ b/
lib/librte_eal/common/include/rte_service.h
@@
-399,6
+399,11
@@
int32_t rte_service_dump(FILE *f, uint32_t id);
*/
#define RTE_SERVICE_ATTR_CYCLES 0
+/**
+ * Returns the count of invocations of this service function
+ */
+#define RTE_SERVICE_ATTR_CALL_COUNT 1
+
/**
* @warning
* @b EXPERIMENTAL: this API may change without prior notice