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

Jouni Malinen j at w1.fi
Sat Jan 31 18:15:47 EST 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