All defines related to this section must not be placed in lwipopts.h, but in arch/perf.h! Measurement calls made throughout lwip, these can be defined to nothing.
PERF_START: start measuring something.
PERF_STOP(x): stop measuring something, and record the result.