Abstract
We describe SsQueue(SnapshotQueue), an implementation for an efficient and user-friendly class library for FIFO queue that can be used for state vectors in simulated queuing network constructs under Time Warp parallel discrete event simulation (PDES) protocol. There exists a general purpose Time Warp simulation kernel warped, where users have only to define a state vector and do not have to care about rollback and state recovery. However, since the state vector should be defined as an inlined data structure, it is not suitable for dynamic data structures such as FIFO queue. This class can also serve as an element of such a state vector, then both libraries and users can handle each instance as snapshot of the queue. Taking advantages of FCFS nature of the above data structure, operation histories rather than all contained items can be safely stored and restored using this class library with virtually minimum overhead. When the kernel deletes instances in the simulated past, corresponding methods perform garbage collections transparently.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
J. Misra. Distributed discrete-event simulation. ACM Computing Surveys, 18(1):39–65, 1986.
D. A. Jefferson. Virtual Time. ACM Transactions on Programming Languages and Systems, 7(3):404–425, 1985.
D. E. Martin, T. J. McBrayer, and P. A. Wilsey. warped: A Time Warp Simulation Kernel for Analysis and Application Development. In 29th Hawaii International Conference on System Sciences (HICSS-29), volume 1, pages 383–386, January 1996.
University of Cincinnati. The WARPED Time Warp Simulation Kernel, July 1996. Ver 0.7.
F. Gomes, S. Franks, B. Unger, Z. Xiao, J. Cleary, and A. Covington. SIMKIT: A High Performance Logical Process Simulation Class Library in C++. In Proceedings of the 1995 Winter Simulation Conference, pages 706–713, 1995.
Rajive L. Bagrodia and Wen-Toh Liao. Maisie: A Language for the Design of Efficient Discrete-Event Simulations. IEEE Transactions on Software Engineering, 20(4):225–238, April 1994.
Jeff S. Steinman. Incremental State Saving in SPEEDES Using C++. In Proceedings of the 1993 Winter Simulation Conference, pages 687–696, 1993.
Yoshiko Yasuda et al. Architecture and performance of the Hitachi SR2201 Massively Parallel Processor System. In Proceedings of the 11th International Parallel Processing Symposium, pages 233–241, April 1997.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1998 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hidaka, S., Aoki, T., Aida, H., Saito, T. (1998). A FIFO Queue Class Library as a State Variable of Time Warp Logical Processes. In: Caromel, D., Oldehoeft, R.R., Tholburn, M. (eds) Computing in Object-Oriented Parallel Environments. ISCOPE 1998. Lecture Notes in Computer Science, vol 1505. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-49372-7_15
Download citation
DOI: https://doi.org/10.1007/3-540-49372-7_15
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-65387-5
Online ISBN: 978-3-540-49372-3
eBook Packages: Springer Book Archive