FACT++  1.0
void StateMachineRateControl::PrintThresholds ( const FTM::DimStaticData sdata)
inlineprivate

Definition at line 100 of file ratecontrol.cc.

References FTM::DimStaticData::fThreshold, i, and RateControl::State::kConnected.

101  {
102  if (!fVerbose)
103  return;
104 
105  if (fThresholds.empty())
106  return;
107 
109  return;
110 
111  Out() << "Min. DAC=" << fThresholdMin << endl;
112 
113  for (int j=0; j<10; j++)
114  {
115  for (int k=0; k<4; k++)
116  {
117  for (int i=0; i<4; i++)
118  {
119  const int p = i + k*4 + j*16;
120 
121  if (fThresholds[p]!=fThresholdMin)
122  Out() << setw(3) << fThresholds[p];
123  else
124  Out() << " - ";
125 
126  if (fThresholds[p]!=sdata.fThreshold[p])
127  Out() << "!";
128  else
129  Out() << " ";
130  }
131 
132  Out() << " ";
133  }
134  Out() << endl;
135  }
136  Out() << endl;
137  }
int GetCurrentState() const
return the current state of the machine
int i
Definition: db_dim_client.c:21
std::ostream & Out() const
Definition: MessageImp.h:73
uint16_t fThreshold[160]
Definition: HeadersFTM.h:410
vector< uint32_t > fThresholds
Definition: ratecontrol.cc:98