> From: Robin Jarry [mailto:rja...@redhat.com] > Sent: Thursday, 19 January 2023 16.07 > > Allow fetching CPU cycles usage for all lcores with a single request. > This endpoint is intended for repeated and frequent invocations by > external monitoring systems and therefore returns condensed data. > > It consists of a single dictionary with three keys: "lcore_ids", > "total_cycles" and "busy_cycles" that are mapped to three arrays of > integer values. Each array has the same number of values, one per > lcore, > in the same order.
[...] > + rte_telemetry_register_cmd( > + "/eal/lcore/usage", handle_lcore_usage, > + "Returns lcore cycles usage. Takes no parameters"); In the future, the rte_lcore_usage structure may contain more fields, and some may not be related to the TSC. So consider removing "cycles" from the description of the telemetry path. Don't waste time changing it unless you are providing a new patch version anyway!