#include "fsm.h"
#include <assert.h>
Include dependency graph for fsm.cc:

Go to the source code of this file.
Data Structures | |
| class | RenoAckFSMClass |
| class | RenoDelAckFSMClass |
| class | TahoeAckFSMClass |
| class | TahoeDelAckFSMClass |
Defines | |
| #define | LARGER_NUMBER_OF_STATES 31 |
| #define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
| #define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
Functions | |
| static void | report_stat_terminus (int desired_pkts, int pkts, int rtts, int timeouts, int ps, int qs, int num_states, int num_state_names, FSMState **states, char *state_names) |
Variables | |
| RenoAckFSMClass | class_renoackfsm |
| RenoDelAckFSMClass | class_renodelackfsm |
| TahoeAckFSMClass | class_tahoeackfsm |
| TahoeDelAckFSMClass | class_tahoedelackfsm |
|
|
Referenced by FSMState::print_all_stats(). |
|
|
Definition at line 71 of file fsm.cc. Referenced by SctpAgent::CwndDegradeTimerExpiration(), SctpAgent::FastRtx(), NewRenoSctpAgent::FastRtx(), GridKeeper::get_neighbors(), WirelessPhy::sendDown(), WirelessPhy::sendUp(), SctpAgent::Timeout(), MfrHbAfterRtoSctpAgent::Timeout(), and HbAfterRtoSctpAgent::Timeout(). |
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 137 of file fsm.cc. Referenced by FSMState::print_all_stats(). 00147 { 00148 // print states and probability 00149 printf("%s: p^%d*q^%d, %d rtt, %d timeouts, %d states:", 00150 (pkts > desired_pkts ? "exceeded-pkts" : 00151 (pkts == desired_pkts ? "desired_pkts" : "unimplemented-qs")), 00152 ps, qs, 00153 rtts, timeouts, 00154 num_states); 00155 char ch = ' '; 00156 int i; 00157 for (i = 0; i < num_states; i++) { 00158 printf ("%c#%d", ch, states[i]->print_i_); 00159 ch = ','; 00160 }; 00161 printf(" [%.*s]\n", num_state_names, state_names); 00162 }
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6