Enum ocl_core::types::enums::ProfilingInfoResult
[−]
[src]
pub enum ProfilingInfoResult { Queued(u64), Submit(u64), Start(u64), End(u64), }
A profiling info result.
Variants
Queued(u64)
Submit(u64)
Start(u64)
End(u64)
Methods
impl ProfilingInfoResult
[src]
pub fn from_bytes(
request: ProfilingInfo,
result: Vec<u8>
) -> OclCoreResult<ProfilingInfoResult>
[src]
request: ProfilingInfo,
result: Vec<u8>
) -> OclCoreResult<ProfilingInfoResult>
pub fn time(self) -> OclCoreResult<u64>
[src]
Trait Implementations
impl Debug for ProfilingInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for ProfilingInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<ProfilingInfoResult> for String
[src]
fn from(ir: ProfilingInfoResult) -> String
[src]
Performs the conversion.