lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] memp_sanity() insane


From: lukem . lwip
Subject: [lwip-devel] memp_sanity() insane
Date: Thu, 26 Feb 2004 10:13:17 +1100 (EST)

Just looking doing some profiling on our system, and noticed that
memp_sanity() was using over 90% of cpu time (of the entire system!). It
seems memp.c line 123 was once #ifdef LWIP_DEBUG but was replaced with
#ifndef LWIP_NOASSERT .

I don't think it should be necessary to disable all asserts to get rid of
a cpu hog like this - isn't that what LWIP_DEBUG was for anyway?

--
Luke




reply via email to

[Prev in Thread] Current Thread [Next in Thread]