Enum ocl::enums::ProfilingInfoResult
[−]
[src]
pub enum ProfilingInfoResult { Queued(u64), Submit(u64), Start(u64), End(u64), Error(Box<Error>), }
A profiling info result.
Variants
Queued(u64)
Submit(u64)
Start(u64)
End(u64)
Error(Box<Error>)
Methods
impl ProfilingInfoResult
[src]
fn from_bytes(
request: ProfilingInfo,
result: Result<Vec<u8>, Error>
) -> ProfilingInfoResult
request: ProfilingInfo,
result: Result<Vec<u8>, Error>
) -> ProfilingInfoResult
fn time(self) -> Result<u64, Error>
Trait Implementations
impl Display for ProfilingInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for ProfilingInfoResult
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl Debug for ProfilingInfoResult
[src]
impl From<Error> for ProfilingInfoResult
[src]
fn from(err: Error) -> ProfilingInfoResult
Performs the conversion.