cargo-gamma-lib 0.1.0

Internal library for cargo-gamma
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

use core::time::Duration;

/// What a run cost, beyond the verdicts.
#[derive(Debug, Clone, Copy)]
pub struct Timing {
    /// How long the single instrumented build took.
    pub build: Duration,

    /// Elapsed wall time for the suite with no mutant active.
    pub baseline: Duration,

    /// Total wall time for the whole run.
    pub wall: Duration,

    /// How many mutants were tested at once.
    pub jobs: usize,
}