Struct google_api_proto::google::devtools::resultstore::v2::TestTiming
source · pub struct TestTiming {
pub system_time_duration: Option<Duration>,
pub user_time_duration: Option<Duration>,
pub test_caching: i32,
pub location: Option<Location>,
}
Expand description
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§
source§impl TestTiming
impl TestTiming
sourcepub fn test_caching(&self) -> TestCaching
pub fn test_caching(&self) -> TestCaching
Returns the enum value of test_caching
, or the default if the field is set to an invalid enum value.
sourcepub fn set_test_caching(&mut self, value: TestCaching)
pub fn set_test_caching(&mut self, value: TestCaching)
Sets test_caching
to the provided enum value.
Trait Implementations§
source§impl Clone for TestTiming
impl Clone for TestTiming
source§fn clone(&self) -> TestTiming
fn clone(&self) -> TestTiming
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestTiming
impl Debug for TestTiming
source§impl Default for TestTiming
impl Default for TestTiming
source§impl Message for TestTiming
impl Message for TestTiming
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TestTiming
impl PartialEq for TestTiming
source§fn eq(&self, other: &TestTiming) -> bool
fn eq(&self, other: &TestTiming) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestTiming
Auto Trait Implementations§
impl Freeze for TestTiming
impl RefUnwindSafe for TestTiming
impl Send for TestTiming
impl Sync for TestTiming
impl Unpin for TestTiming
impl UnwindSafe for TestTiming
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request