> From: Robin Jarry [mailto:rja...@redhat.com] > Sent: Thursday, 2 February 2023 14.43 > > 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. > > Example: > > --> /eal/lcore/usage > { > "/eal/lcore/usage": { > "lcore_ids": [ > 4, > 5 > ], > "total_cycles": [ > 23846845590, > 23900558914 > ], > "busy_cycles": [ > 21043446682, > 21448837316 > ] > } > } > > Signed-off-by: Robin Jarry <rja...@redhat.com> > Reviewed-by: Kevin Laatz <kevin.la...@intel.com> > ---
Acked-by: Morten Brørup <m...@smartsharesystems.com>