pub struct RestoreStats {
pub duration_ns: u64,
pub avoided_compiler_duration_ns: u64,
pub output_files: u64,
pub output_bytes: u64,
pub reflinked_output_files: u64,
pub reflinked_output_bytes: u64,
pub copied_output_files: u64,
pub copied_output_bytes: u64,
pub reused_output_files: u64,
pub reused_output_bytes: u64,
}Expand description
Local output restoration work performed by one action-cache adapter hit.
Fields§
§duration_ns: u64Cumulative time spent materializing and validating output files.
avoided_compiler_duration_ns: u64Compiler wall time recorded when this action was originally produced. Zero means no timing hint was available.
output_files: u64Number of compiler output files restored.
output_bytes: u64Declared size of compiler output files restored.
reflinked_output_files: u64Number of restored output files that share data blocks with the CAS.
reflinked_output_bytes: u64Declared size of restored outputs that share data blocks with the CAS.
copied_output_files: u64Number of restored output files that required a byte-for-byte copy.
copied_output_bytes: u64Declared size of restored outputs that required a byte-for-byte copy.
reused_output_files: u64Number of output files already in place with the cached contents, kept rather than rewritten.
reused_output_bytes: u64Declared size of outputs kept in place rather than rewritten.
Trait Implementations§
Source§impl Clone for RestoreStats
impl Clone for RestoreStats
Source§fn clone(&self) -> RestoreStats
fn clone(&self) -> RestoreStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more