summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-02 14:28:58 -0500
committerLioncash <mathew1800@gmail.com>2019-03-02 14:44:24 -0500
commitf8f1ff0b4f79a6c8807c3bca71e9a7a3ec4bff69 (patch)
treed6da2afbfecd91459070227a31010ab37bb36e20 /src/core/core.cpp
parent43c1092031a7e0ad2ac9f45a651b97ce19102bb6 (diff)
logging/backend: Make time_origin a class variable instead of a local static
Moves local global state into the Impl class itself and initializes it at the creation of the instance instead of in the function. This makes it nicer for weakly-ordered architectures, given the CreateEntry() class won't need to have atomic loads executed for each individual call to the CreateEntry class.
Diffstat (limited to 'src/core/core.cpp')
0 files changed, 0 insertions, 0 deletions