X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fmetrics.rs;h=c823dc7968465e84a0553676654ebbbfcd153d50;hb=b21674f3bdca0083e7802842d282f64ee30080fb;hp=451febddc88ceee13b32ae9b7aed99a487d4ad08;hpb=2b30ce04ac23aaea8d35502aa67079f1072cad2d;p=rust.git diff --git a/src/bootstrap/metrics.rs b/src/bootstrap/metrics.rs index 451febddc88..c823dc79684 100644 --- a/src/bootstrap/metrics.rs +++ b/src/bootstrap/metrics.rs @@ -97,7 +97,7 @@ pub(crate) fn persist(&self, build: &Build) { cpu_threads_count: system.cpus().len(), cpu_model: system.cpus()[0].brand().into(), - memory_total_bytes: system.total_memory() * 1024, + memory_total_bytes: system.total_memory(), }; let steps = std::mem::take(&mut state.finished_steps);