Proceedings of the 2013 Winter Simulation Conference
An important design decision in the construction of a simulator is how to enable users to access the data generated in each run of a simulation experiment. As the simulator executes, the samples of performance metrics that are generated beg to be exposed either in their raw state or after having undergone mathematical processing. Also of concern is the particular format this data assumes when externalized to mass storage, since it determines the ease of processing by other applications or interpretation by the user. In this paper, we present a framework for the \ns network simulator for capturing data from inside an experiment, subjecting it to mathematical transformations, and ultimately marshaling it into various output formats. The application of this functionality is illustrated and analyzed via a study of common use cases. Although the implementation of our approach is specific to \ns, this design presents lessons transferrable to other platforms.
Perrone, Luiz Felipe; Henderson, Thomas R.; Watrous, Mitchell J.; and Felizardo, Vinícius D.. "The Design of an Output Data Collection Framework for ns-3." Proceedings of the 2013 Winter Simulation Conference (2013) .