> -----Original Message-----
> From: Morten Brørup <m...@smartsharesystems.com>
> Sent: Tuesday, October 29, 2024 10:55 AM
> To: Brandes, Shai <shaib...@amazon.com>; ferruh.yi...@amd.com
> Cc: dev@dpdk.org
> Subject: RE: [EXTERNAL] [PATCH 0/1] net/ena: adding a histogram framework
> to 2.11.0
>
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you can confirm the sender and know the
> content is safe.
>
>
>
> > From: Shai Brandes <shaib...@amazon.com>
> >
> > This update is an enhancement to the ENA driver version 2.11.0 release.
> > It is a "nice to have" feature for the 24.11 release, should it be
> > included before the code freeze deadline.
> >
> > This addition leverages an internal framework used in our testing
> > processes, which may offer significant benefits for customers.
> > It calculates the differences between specified start and end points
> > in the code, generating a histogram of time intervals to provide
> > detailed insights into performance.
>
> Yes, histograms can be extremely useful.
> The SmartShare applications use histograms for a variety of purposes, e.g.
> function profiling (like yours), number of packets per RX burst, number of
> packets per flow, and much more.
> The distribution index can be linear (like yours), log2, or - for higher
> resolution - floating point with 3 or 4 bits mantissa and 5 or more bits
> exponent.
>
> Please provide generic histograms as a proper library, not tied to a specific
> driver, and not specifically using "time" as parameter.
Acknowledged, thanks for your insights!