This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Speed up redboot


Attached patch removes an unneccesary call (is called in a loop
immediately after the removed) call to MS_TICKS_DELAY(), resulting in a
noticeable improvement of download speed.

Bob
Index: packages/redboot/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.208
diff -u -5 -r1.208 ChangeLog
--- packages/redboot/current/ChangeLog	19 Sep 2004 17:49:59 -0000	1.208
+++ packages/redboot/current/ChangeLog	23 Sep 2004 20:12:40 -0000
@@ -1,5 +1,8 @@
+2004-9-23   Bob Koninckx <bob.koninckx@o-3s.com>
+	* src/net/tc.c: Removed unneccesary call to MS_TICKS_DELAY
+
 2004-09-19  Mark Salter  <msalter@redhat.com>
 
 	* cdl/redboot.cdl: Add CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE
 	* src/net/net_io.c (net_init): Initialize only one network
 	device if CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE defined.
Index: packages/redboot/current/src/net/tcp.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/src/net/tcp.c,v
retrieving revision 1.11
diff -u -5 -r1.11 tcp.c
--- packages/redboot/current/src/net/tcp.c	21 Dec 2003 13:17:52 -0000	1.11
+++ packages/redboot/current/src/net/tcp.c	23 Sep 2004 20:12:41 -0000
@@ -641,11 +641,10 @@
 
 void
 __tcp_poll(void)
 {
     __enet_poll();
-    MS_TICKS_DELAY();
     __timer_poll();
 }
 
 
 int

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]