29 static std::atomic<uint32> s_stamp1_counter(1U);
30 static std::atomic<uint32> s_stamp2_counter(0U);
32 uint64 stamp_loworder = s_stamp1_counter++;
35 if (stamp_loworder == std::numeric_limits<uint32>::max()) {
36 stamp_highorder = s_stamp2_counter++;
38 stamp_highorder = s_stamp2_counter;
40 return stamp_loworder | (stamp_highorder << 32);