clang-tools 20.0.0git
|
Timings and statistics from the premble build. More...
#include <Preamble.h>
Public Attributes | |
double | TotalBuildTime |
Total wall time it took to build preamble, in seconds. | |
double | FileSystemTime |
Time spent in filesystem operations during the build, in seconds. | |
size_t | BuildSize |
Estimate of the memory used while building the preamble. | |
size_t | SerializedSize |
The serialized size of the preamble. | |
Timings and statistics from the premble build.
Unlike PreambleData, these do not need to be stored for later, but can be useful for logging, metrics, etc.
Definition at line 137 of file Preamble.h.
size_t clang::clangd::PreambleBuildStats::BuildSize |
Estimate of the memory used while building the preamble.
This memory has been released when buildPreamble returns. For example, this includes the size of the in-memory AST (ASTContext).
Definition at line 146 of file Preamble.h.
double clang::clangd::PreambleBuildStats::FileSystemTime |
Time spent in filesystem operations during the build, in seconds.
Definition at line 141 of file Preamble.h.
Referenced by clang::clangd::buildPreamble().
size_t clang::clangd::PreambleBuildStats::SerializedSize |
The serialized size of the preamble.
This storage is needed while the preamble is used (but may be on disk).
Definition at line 149 of file Preamble.h.
Referenced by clang::clangd::buildPreamble().
double clang::clangd::PreambleBuildStats::TotalBuildTime |
Total wall time it took to build preamble, in seconds.
Definition at line 139 of file Preamble.h.
Referenced by clang::clangd::buildPreamble().