[Tinyos-host-mote-wg] Re: [Tinyos-2.0wg] TOS2 tasks code size
Philip Levis
pal at cs.stanford.edu
Sat Oct 8 08:16:56 PDT 2005
On Oct 5, 2005, at 1:00 PM, Cory Sharp wrote:
> One small thing that been bothering me is that TinyOS 2.x tasks
> compile to slightly larger code than TinyOS 1.x tasks, but my
> expectation is TOS2 tasks should take the same or less space. I can't
> quite figure out where the space is going, and I wonder if anyone else
> has any ideas as to what's causing the minor bloat.
Hrm. Looking at the code, this doesn't seem totally crazy. The T2
code is definitely more lines and has more cases. Have you looked at
the assembly?
When I put the T2 code in there, all I really did was copy your
example code from reserved tasks. I will take a look on Sunday and do
a code review pass to see if I can cut the code down. It might be
useful if we iterated once more after that (you take a look at my
code and try to cut *it* down).
Phil
_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
More information about the Tinyos-host-mote-wg
mailing list