libspdm
libspdm copied to clipboard
Add performance measurement infrastructure
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 .
I'm not sure if libspdm needs to be modified to support this. There are plenty of hardware-based / software-based profilers out there.
@jyao1 to come up with proposal.