MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_gettid

Function rte_gettid

dpdk/lib/eal/include/rte_eal.h:438–443  ·  view source on GitHub ↗

* Get system unique thread id. * * @return * On success, returns the thread ID of calling process. * It is always successful. */

Source from the content-addressed store, hash-verified

436 * It is always successful.
437 */
438static inline int rte_gettid(void)
439{
440 if (RTE_PER_LCORE(_thread_id) == -1)
441 RTE_PER_LCORE(_thread_id) = rte_sys_gettid();
442 return RTE_PER_LCORE(_thread_id);
443}
444
445/**
446 * Get the OS-specific EAL base address.

Callers 15

__rte_thread_initFunction · 0.85
rte_spinlock.hFile · 0.85
rte_hw_mbuf_create_poolFunction · 0.85
rte_dpaa2_mbuf_releaseFunction · 0.85
dpaa2_sec_enqueue_burstFunction · 0.85
dpaa2_sec_dequeue_burstFunction · 0.85

Calls 1

rte_sys_gettidFunction · 0.50

Tested by

no test coverage detected