Searched refs:iSelected (Results 1 - 1 of 1) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libkmsagent/common/
H A DKMSAgentLoadBalancer.cpp151 unsigned int iSelected = 0; local
307 iSelected = rand() % iCandidateAppliances;
308 iSelected2 = (iSelected + 1) % iCandidateAppliances;
312 if (m_aCluster[iSelected2].m_lLoad < m_aCluster[iSelected].m_lLoad)
314 iSelected = iSelected2;
317 return iSelected;

Completed in 61 milliseconds