Public Member Functions | Data Fields

RegressionSM Struct Reference

#include <RegressionSM.h>

Inherits Continuation.

Inherited by CacheTestSM, and ReRegressionSM.

Collaboration diagram for RegressionSM:
Collaboration graph
[legend]

Public Member Functions

virtual void run ()
virtual RegressionSMclone ()
void done (int status=REGRESSION_TEST_NOT_RUN)
void run (int *pstatus)
void run_in (int *pstatus, ink_hrtime t)
int regression_sm_start (int event, void *data)
int regression_sm_waiting (int event, void *data)
void set_status (int status)
void child_done (int status)
void xrun (RegressionSM *parent)
 RegressionSM (RegressionTest *at=NULL)
 RegressionSM (const RegressionSM &)

Data Fields

RegressionTestt
int status
int * pstatus
RegressionSMparent
int nwaiting
int nchildren
DynArray< RegressionSM * > children
intptr_t n
intptr_t ichild
bool par
bool rep
Actionpending_action

Detailed Description

Definition at line 35 of file RegressionSM.h.


Constructor & Destructor Documentation

RegressionSM::RegressionSM ( RegressionTest at = NULL  )  [inline]

Definition at line 65 of file RegressionSM.h.

References Continuation::mutex, and new_ProxyMutex().

Referenced by clone().

RegressionSM::RegressionSM ( const RegressionSM ao  ) 

Member Function Documentation

void RegressionSM::child_done ( int  status  ) 

Definition at line 75 of file RegressionSM.cc.

References ink_assert, Continuation::mutex, MUTEX_LOCK, nwaiting, set_status(), and this_ethread().

Referenced by done().

virtual RegressionSM* RegressionSM::clone (  )  [inline, virtual]

Reimplemented in CacheTestSM, and ReRegressionSM.

Definition at line 41 of file RegressionSM.h.

References RegressionSM().

Referenced by cache(), and run().

void RegressionSM::done ( int  status = REGRESSION_TEST_NOT_RUN  ) 
int RegressionSM::regression_sm_start ( int  event,
void *  data 
)

Definition at line 98 of file RegressionSM.cc.

References run().

Referenced by run_in().

int RegressionSM::regression_sm_waiting ( int  event,
void *  data 
)

Definition at line 83 of file RegressionSM.cc.

References done(), nwaiting, par, REGRESSION_SM_RETRY, REGRESSION_TEST_NOT_RUN, and run().

Referenced by run().

void RegressionSM::run (  )  [virtual]
void RegressionSM::run ( int *  pstatus  ) 

Definition at line 55 of file RegressionSM.cc.

References pstatus, and run().

void RegressionSM::run_in ( int *  pstatus,
ink_hrtime  t 
)
void RegressionSM::set_status ( int  status  ) 
void RegressionSM::xrun ( RegressionSM parent  ) 

Definition at line 61 of file RegressionSM.cc.

References nwaiting, parent, and run().

Referenced by run().


Field Documentation

Definition at line 54 of file RegressionSM.h.

Referenced by r_parallel(), r_sequential(), RegressionSM(), and run().

Definition at line 55 of file RegressionSM.h.

Referenced by r_parallel(), r_sequential(), RegressionSM(), and run().

intptr_t RegressionSM::n

Definition at line 55 of file RegressionSM.h.

Referenced by r_parallel(), r_sequential(), RegressionSM(), and run().

Definition at line 53 of file RegressionSM.h.

Referenced by r_parallel(), r_sequential(), and RegressionSM().

Definition at line 56 of file RegressionSM.h.

Referenced by r_parallel(), r_sequential(), regression_sm_waiting(), RegressionSM(), and run().

Definition at line 51 of file RegressionSM.h.

Referenced by done(), RegressionSM(), and xrun().

Definition at line 57 of file RegressionSM.h.

Referenced by done(), RegressionSM(), and run().

Definition at line 50 of file RegressionSM.h.

Referenced by done(), RegressionSM(), run(), and run_in().

Definition at line 56 of file RegressionSM.h.

Referenced by r_parallel(), r_sequential(), RegressionSM(), and run().

Definition at line 49 of file RegressionSM.h.

Referenced by done(), RegressionSM(), and set_status().


The documentation for this struct was generated from the following files: