models/network/iris/components/simpleArbiter.cc
unsigned
FCFSSimpleArbiter::pick_winner ()
{
    unsigned winner = no_channels;
    if(m_requesters.size() > 0) {
        winner = m_requesters.front();
	m_requesters.pop_front();
    }

    return winner;
}
//! Pick a winner using first-come-first-serve priority.
//! Return the winner, which is the earliest of the current requesters; or no_channels if
//! there are no requesters.
Pick a winner using first-come-first-serve priority.
Return the winner, which is the earliest of the current requesters; or no_channels if
there are no requesters.
Pick a winner using first - come - first - serve priority . Return the winner which is the earliest of the current requesters ; or no_channels if there are no requesters .
unsigned
FCFSSimpleArbiter::pick_winner ()
{
    unsigned winner = no_channels;
    if(m_requesters.size() > 0) {
        winner = m_requesters.front();
	m_requesters.pop_front();
    }
    return winner;
}
unsigned FCFSSimpleArbiter :: pick_winner ( ) { unsigned winner = no_channels ; if ( m_requesters . size ( ) > 0 ) { winner = m_requesters . front ( ) ; m_requesters . pop_front ( ) ; } return winner ; }
Pick a winner using first-come-first-serve priority.
Pick a winner using first - come - first - serve priority .