The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
VmwareSvgaState::PollBudget Class Reference
+ Collaboration diagram for VmwareSvgaState::PollBudget:

Public Member Functions

 PollBudget (uint64_t started, uint64_t timeout=FifoSyncTimeout, size_t pollLimit=FifoSyncPollLimit)
 
bool keepPolling (uint64_t now)
 
size_t polls () const
 

Private Attributes

uint64_t m_Started
 
uint64_t m_Timeout
 
size_t m_PollLimit
 
size_t m_Polls
 

Detailed Description

Definition at line 17 of file VmwareSvgaState.h.

Constructor & Destructor Documentation

◆ PollBudget()

VmwareSvgaState::PollBudget::PollBudget ( uint64_t  started,
uint64_t  timeout = FifoSyncTimeout,
size_t  pollLimit = FifoSyncPollLimit 
)
inlineexplicit

Definition at line 19 of file VmwareSvgaState.h.

Member Function Documentation

◆ keepPolling()

bool VmwareSvgaState::PollBudget::keepPolling ( uint64_t  now)
inline

Definition at line 23 of file VmwareSvgaState.h.

◆ polls()

size_t VmwareSvgaState::PollBudget::polls ( ) const
inline

Definition at line 31 of file VmwareSvgaState.h.

Member Data Documentation

◆ m_PollLimit

size_t VmwareSvgaState::PollBudget::m_PollLimit
private

Definition at line 38 of file VmwareSvgaState.h.

◆ m_Polls

size_t VmwareSvgaState::PollBudget::m_Polls
private

Definition at line 39 of file VmwareSvgaState.h.

◆ m_Started

uint64_t VmwareSvgaState::PollBudget::m_Started
private

Definition at line 36 of file VmwareSvgaState.h.

◆ m_Timeout

uint64_t VmwareSvgaState::PollBudget::m_Timeout
private

Definition at line 37 of file VmwareSvgaState.h.


The documentation for this class was generated from the following file: