18 src_node(src), msg_num(num) {
22 src_node(-1), msg_num(0) {
25 operator uint64_t()
const {
28 uint64_t hi = (((uint64_t)src_node)<<32);
34 std::stringstream sstr;
35 sstr <<
"unique_id(" << src_node <<
"," << msg_num <<
")";
67 class serialize<
sstmac::hw::unique_event_id>
81 struct hash<sstmac::hw::unique_event_id>
82 :
public std::hash<uint64_t>
86 namespace sstmac {
namespace hw {
unique_event_id operator++(int)
std::size_t hash_value(const unique_event_id &id)
void set_src_node(uint32_t src)
std::string to_string() const
void set_seed(uint32_t seed)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
#define START_SERIALIZATION_NAMESPACE
unique_event_id(uint32_t src, uint32_t num)
#define END_SERIALIZATION_NAMESPACE
unique_event_id & operator++()
void operator()(sstmac::hw::unique_event_id &id, serializer &ser)