xref: /openbmc/telemetry/tests/src/utils/generate_unique_mock_id.cpp (revision 1cdd7e4f89c75de7ec95ea545306e96ddf5a8a2b)
1 #include "generate_unique_mock_id.hpp"
2 
3 #include "helpers.hpp"
4 
generateUniqueMockId()5 uint64_t generateUniqueMockId()
6 {
7     static uint64_t id = 0u;
8     return id++;
9 }
10