Struct js::jsapi::PerformanceGroup
[−]
[src]
#[repr(C)]pub struct PerformanceGroup { pub _vftable: *const _vftable_PerformanceGroup, pub recentCycles_: u64, pub recentTicks_: u64, pub recentCPOW_: u64, pub iteration_: u64, pub isActive_: bool, pub isUsedInThisIteration_: bool, pub owner_: *const AutoStopwatch, pub refCount_: u64, }
Abstract base class for a representation of the performance of a component. Embeddings interested in performance monitoring should provide a concrete implementation of this class, as well as the relevant callbacks (see below).
Fields
_vftable: *const _vftable_PerformanceGroup
recentCycles_: u64
recentTicks_: u64
recentCPOW_: u64
iteration_: u64
isActive_: bool
isUsedInThisIteration_: bool
owner_: *const AutoStopwatch
refCount_: u64
Methods
impl PerformanceGroup
[src]
pub unsafe fn iteration(&mut self) -> u64
[src]
pub unsafe fn isAcquired(&mut self, it: u64) -> bool
[src]
pub unsafe fn isAcquired1(
&mut self,
it: u64,
owner: *const AutoStopwatch
) -> bool
[src]
&mut self,
it: u64,
owner: *const AutoStopwatch
) -> bool