2008 · 12 citations · 16 references
ComputingComputer ScienceVisualizationEmbedded SystemsOperating SystemsSystems ProgrammingApplication Programming InterfacesBehavioral AnalysisEmbedded DebuggingRuntime EnvironmentsRuntime SystemsExecution Trace AnalysisExecution TracingProgram ComprehensionProgramming Model DesignRuntime InstrumentationTrace VisualizationVisual Debugging
TinyOS has proven to be an effective platform for developing reactive embedded network applications. However, the platform's lean programming model and power-efficient operation come at a price: TinyOS applications are notoriously difficult to construct and debug. The development difficulties stem, in large part, from a programming model founded on events and deferred execution. In short, the model introduces non-determinism in the execution ordering of primitive actions (i.e., commands, events, and tasks). The resulting set of possible execution sequences is typically large, and can swamp developers' unaided intellectual ability to reason about program behavior. In this paper, we present a platform-neutral visualization toolkit for TinyOS 2.0 to aid in program comprehension. The goal is to assist developers in reasoning about the computation forest underlying a system under test, and the particular branches chosen during each run. The toolkit design includes (i) a full-featured static analysis and instrumentation library, (ii) a selection-based probe insertion system, (iii) a lightweight event recording service, (iv) a trace extraction and reconstruction tool, and (v) two visualization front-ends. We demonstrate the utility of the toolkit using standard system examples, and present an analysis of the toolkit's resource usage and performance characteristics.
16
System architecture directions for networked sensors
Jason Hill, Robert Szewczyk, Alec Woo et al. · ACM SIGPLAN Notices · 2000 · 3.1K citations · Full text
System architecture directions for networked sensors
Jason Hill, Robert Szewczyk, Alec Woo et al. · 2000 · 1.7K citations
David Gay, Philip Levis, Robert von Behren et al. · ACM SIGPLAN Notices · 2014 · 1.7K citations
Deploying a wireless sensor network on an active volcano
G. Werner-Allen, Konrad Lorincz, Mario Ruiz et al. · IEEE Internet Computing · 2006 · 1.2K citations
David Gay, Philip Levis, Robert von Behren et al. · 2003 · 860 citations