I'm running a simulation over a cluster, and trying to speed the
production time by forking the simulation to parallel-run compatible
events (it's a fairly long simulation). To do that, I need to find a
method of finding the node of the next event without actually running
the event. Since I didn't see a nextNode or nextEvent option in
documentation or in the headers, I adjusted tossim.h to add a new
function header "Mote* nextNode();" and defined it in the tossim.c file...
Mote* Tossim::nextNode() {
return getNode(sim_queue_peek()->mote);
}
It looks like it should work, but I keep getting an "undefined reference
to `sim_queue_peek()'" error. As near as I can tell, this is because
normally the tossim.c file doesn't call the sim_queue_peek function
(even though it's defined in sim_queue_event.c), and the normal "make
micaz" command doesn't check for any new referenced functions.
Is there a way to get the next node in the event list without defining a
new function? If not, is there a way to regenerate these references?
Regards,
Roy Cabaniss
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help