|
SST
15.1.0
StructuralSimulationToolkit
|
Class used to sort events during checkpointing. More...
#include <event.h>
Public Member Functions | |
| bool | operator() (const Event *lhs, const Event *rhs) const |
Class used to sort events during checkpointing.
This is used to sort events by delivery_info so we can use std::lower_bound to easily find events targeting a specific handler. For Events targetting the same handler, it will sort according to Activity::less. This will ensure that things get inserted back in correct order, though the only important thing is that insertion order is maintained, so two events to be delivered at the same time maintain their send order.