diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2022-10-02 13:26:22 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2022-10-02 13:26:22 +0200 |
commit | e5d2eb8c7703ade8b6f216dd677d35c7019cc918 (patch) | |
tree | 03effcd9a45422682c25d2e5b1eeb4f6aafca4b3 /src/core | |
parent | 58a2dfc7b7d8e073a621542bedcc391981fe9304 (diff) | |
download | ccache-e5d2eb8c7703ade8b6f216dd677d35c7019cc918.tar.gz |
refactor: Sort k_statistics_fields
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Statistics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Statistics.cpp b/src/core/Statistics.cpp index 416f9c61..399bcb67 100644 --- a/src/core/Statistics.cpp +++ b/src/core/Statistics.cpp @@ -93,6 +93,8 @@ const StatisticsField k_statistics_fields[] = { FIELD(error_hashing_extra_file, "Error hashing extra file", FLAG_ERROR), FIELD(files_in_cache, nullptr, FLAG_NOZERO), FIELD(internal_error, "Internal error", FLAG_ERROR), + FIELD(local_storage_hit, nullptr), + FIELD(local_storage_miss, nullptr), FIELD(missing_cache_file, "Missing cache file", FLAG_ERROR), FIELD(multiple_source_files, "Multiple source files", FLAG_UNCACHEABLE), FIELD(no_input_file, "No input file", FLAG_UNCACHEABLE), @@ -102,8 +104,6 @@ const StatisticsField k_statistics_fields[] = { FIELD(preprocessed_cache_hit, nullptr), FIELD(preprocessed_cache_miss, nullptr), FIELD(preprocessor_error, "Preprocessing failed", FLAG_UNCACHEABLE), - FIELD(local_storage_hit, nullptr), - FIELD(local_storage_miss, nullptr), FIELD(recache, "Forced recache", FLAG_UNCACHEABLE), FIELD(remote_storage_error, nullptr), FIELD(remote_storage_hit, nullptr), |