]> git.ipfire.org Git - thirdparty/ccache.git/commit
Convert counters to a class (#548)
authorThomas Otto <thomas.otto@pdv-fs.de>
Sun, 1 Mar 2020 21:07:54 +0000 (22:07 +0100)
committerGitHub <noreply@github.com>
Sun, 1 Mar 2020 21:07:54 +0000 (22:07 +0100)
commit203c0e112754f4c313390fa6f0e1a9fb5921e49f
tree31651efb9cf320bb3fb57721ec91890abd8be7b9
parent16bc3affc4668f20f173aa9c832cd70b542ed937
Convert counters to a class (#548)

Also remove file writing logic from `stats_update_size()` and
delete unused declaration of `stats_timestamp()`.
15 files changed:
Makefile.in
src/Context.cpp
src/Context.hpp
src/Counters.cpp [moved from unittest/test_stats.cpp with 57% similarity]
src/Counters.hpp [moved from src/counters.hpp with 70% similarity]
src/ccache.cpp
src/ccache.hpp
src/compress.cpp
src/counters.cpp [deleted file]
src/result.cpp
src/stats.cpp
src/stats.hpp
test/suites/base.bash
unittest/main.cpp
unittest/test_counters.cpp [deleted file]