Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
telemetry
/
503c158972ff74a23ead8f50138107157b46758d
/
.
/
tests
/
src
/
utils
/
generate_unique_mock_id.cpp
blob: f3e3f016de2f3a066e264a9b94178fdc07125da6 [
file
] [
log
] [
blame
]
Krzysztof Grobelny
7f06f61
2020-09-24 13:42:10 +0200
[
diff
] [
blame
]
1
#include
"generate_unique_mock_id.hpp"
2
3
uint64_t
generateUniqueMockId
()
4
{
5
static
uint64_t
id
=
0u
;
6
return
id
++;
7
}