On 16/02/2017 10:53, Thomas Monjalon wrote:
2017-02-03 10:33, Remy Horton:
[..]
I think there are three remaining questions:
- When the metrics computation are done? (in which thread?)

Actual calculation is not done by libmetrics itself - it only handles
distribution. Calculation is done prior to the calculated values being
passed to rte_metrics_update_value*(), so the thread that does the
calculation is a decision for the application.


- May the few lines of computation code be done differently when tightly
integrated in an application logic?

Yes, since it is the application itself (or in the case of bit-rate, a
separate library) that does the calculation.


- Could it be hosted in a separate repository on dpdk.org?


That's part of a broader discussion on how DPDK is packaged.

Reply via email to