[PATCH 15/15] supplicant: Add state transition timestamps.

Jouni Malinen j
Sat Jan 31 15:15:47 PST 2015


On Wed, Mar 05, 2014 at 04:20:00PM -0800, greearb at candelatech.com wrote:
> Helps with understanding how long it takes to do various
> tasks.

This feels too complex.. I don't really want to add N new #ifdef/#endif
blocks for something like this, i.e., that should be cleaned up with
conditionally defined inline functions (etc.) that keeps the source code
readable.

Timing can be figured out from debug log timestamps. If something is
needed at runtime through control interface, I'd like to understand the
use case better before adding this. In addition, this should most likely
be using os_get_reltime() rather than os_get_time().

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list