libspdm icon indicating copy to clipboard operation
libspdm copied to clipboard

Add performance measurement infrastructure

Open jyao1 opened this issue 3 years ago • 2 comments

The requirement is: when an integrator uses the libspdm, the integrator wants to know where is the bottle neck.

We can think of adding performance macro, and dump the perf log to some memory - e.g. spdm_context. Then we can use tool to get the data out .

jyao1 avatar Mar 28 '22 12:03 jyao1

I'm not sure if libspdm needs to be modified to support this. There are plenty of hardware-based / software-based profilers out there.

steven-bellock avatar Mar 28 '22 15:03 steven-bellock

@jyao1 to come up with proposal.

steven-bellock avatar Apr 04 '22 14:04 steven-bellock