Enum ocl::enums::ProfilingInfoResult
source · pub enum ProfilingInfoResult {
Queued(u64),
Submit(u64),
Start(u64),
End(u64),
}
Expand description
A profiling info result.
Variants§
Implementations§
source§impl ProfilingInfoResult
impl ProfilingInfoResult
pub fn from_bytes( request: ProfilingInfo, result: Vec<u8> ) -> Result<ProfilingInfoResult, Error>
pub fn time(self) -> Result<u64, Error>
Trait Implementations§
source§impl Debug for ProfilingInfoResult
impl Debug for ProfilingInfoResult
Auto Trait Implementations§
impl Freeze for ProfilingInfoResult
impl RefUnwindSafe for ProfilingInfoResult
impl Send for ProfilingInfoResult
impl Sync for ProfilingInfoResult
impl Unpin for ProfilingInfoResult
impl UnwindSafe for ProfilingInfoResult
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
Mutably borrows from an owned value. Read more