Struct gapi_grpc::google::devtools::resultstore::v2::TestTiming[][src]

pub struct TestTiming {
    pub system_time_duration: Option<Duration>,
    pub user_time_duration: Option<Duration>,
    pub test_caching: i32,
    pub location: Option<Location>,
}

Timing data for execution of a test action. The action may be performed locally, on the machine running the build, or remotely.

Fields

system_time_duration: Option<Duration>

The amount of CPU time spent by the test process executing system calls within the kernel, as opposed to library code. Time the test process spent blocked does not count towards this figure.

user_time_duration: Option<Duration>

The amount of CPU time spent by the test process executing user-mode code outside the kernel, as opposed to library code. Time the test process spent blocked does not count towards this figure. You can add user_time to system_time to get total CPU time taken by the test process.

test_caching: i32

Most build systems cache build results to speed up incremental builds. Some also cache test results too. This indicates whether the test results were found in a cache, and where that cache was located.

location: Option<Location>

Test timing for either a local or remote execution.

Implementations

impl TestTiming[src]

pub fn test_caching(&self) -> TestCaching[src]

Returns the enum value of test_caching, or the default if the field is set to an invalid enum value.

pub fn set_test_caching(&mut self, value: TestCaching)[src]

Sets test_caching to the provided enum value.

Trait Implementations

impl Clone for TestTiming[src]

impl Debug for TestTiming[src]

impl Default for TestTiming[src]

impl Message for TestTiming[src]

impl PartialEq<TestTiming> for TestTiming[src]

impl StructuralPartialEq for TestTiming[src]

Auto Trait Implementations

impl RefUnwindSafe for TestTiming

impl Send for TestTiming

impl Sync for TestTiming

impl Unpin for TestTiming

impl UnwindSafe for TestTiming

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]