rte_lcore_usage(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… NAME πŸ’…

rte_lcore_usage β€” okay so this is a struct from DPDK's rte_lcore.h that holds your lcore usage statistics, and honestly? she's giving receipts for your CPU core's whole day πŸ“Šβœ¨


✨ SYNOPSIS ✨

#include <rte_lcore.h>

πŸŽ€ Data Fields

  • uint64_t total_cycles
  • uint64_t busy_cycles

🌸 Detailed Description 🌸

Lowkey the whole point: lcore usage statistics. That's the vibe, that's the assignment 🫢

Fr fr, this is defined at line 332 of file rte_lcore.h β€” go look, she's really there πŸ’…

πŸ¦‹ Field Documentation πŸ¦‹

⭐ uint64_t total_cycles

The total amount of time that the application has been running on this lcore, measured in TSC cycles. Like, the whole runtime, no cap ⏱️πŸ”₯

Definition at line 337 of file rte_lcore.h.

πŸ“ uint64_t busy_cycles

The amount of time the application was busy β€” as in, actually handling some workload on this lcore β€” also in TSC cycles. So busy_cycles out of total_cycles? That's your main character doing actual work vs. just standing there looking cute πŸ˜­πŸ’€

Definition at line 342 of file rte_lcore.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code 🧚 (yes, a robot wrote this, and she ate, periodt).


πŸ’– And that's the whole page bestie β€” this is the rte_lcore_usage(3) manual from DPDK, Version 26.03.0. Slay, go read your cycle counters, iykyk 🌈⭐
πŸ“¦ where this page comes from