constants.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define HASH_SIZE   1000
#define INITIAL_CAPACITY   100
#define MAXFILTERS   20
 maximum number of filters allowed
#define MAXINPSTREAMS   MAXFILTERS
#define MAXOUTSTREAMS   MAXFILTERS
#define MAXSTREAMS   ((MAXINPSTREAMS+MAXOUTSTREAMS)/2)*MAXFILTERS
#define MAXRESOURCES   5
 maximum number of resources a host can have
#define MAXHOSTS   40
 maximum number of hosts the system can have
#define MAXINSTANCES   40
 maximum number of instances a filter can have
#define MINSIZE   100
#define PROD_CONS_SIZE   1000
#define ID_LIST_INIT_SIZE   10
#define MAX_CWD_LENGTH   500
 max cwd string length
#define MAX_XNAME_LENGTH   100
 max executable name
#define MAX_COM_LENGTH   (MAX_CWD_LENGTH+MAX_XNAME_LENGTH+1)
 max command length
#define MAX_FNAME_LENGTH   50
 max filtername length
#define MAX_LBL_LENGTH   1000
 max label length
#define MAX_LNAME_LENGTH   (MAX_FNAME_LENGTH+6)
 max libname length, +6 for the lib and .so
#define MAX_HNAME_LENGTH   100
 max hostname length
#define MAX_PTNAME_LENGTH   50
 max port name length
#define MAX_PLNAME_LENGTH   50
 max policy name length
#define MAX_SNAME_LENGTH   50
 max stream name length
#define MAX_RNAME_LENGTH   50
 max resource name length
#define MAX_IDIR_LENGTH   500
 max instrumentation directory length
#define E_TASK_EXISTS   -2
 task already exists
#define E_TASK_NOT_RUNNING   -3
 task already finished or still created
#define E_NO_SUCH_TASK   -4
 Task dosn't exist.
#define E_COULD_NOT_RECOVER_TASK   -5
 error opening/reading task serialization file
#define MANAGER_MAIN_RECV_TIMEOUT   1
 appendWork() main loop trecv timeout, in seconds


Define Documentation

#define E_COULD_NOT_RECOVER_TASK   -5
 

error opening/reading task serialization file

Definition at line 45 of file constants.h.

Referenced by cacheRecoverTasks().

#define E_NO_SUCH_TASK   -4
 

Task dosn't exist.

Definition at line 44 of file constants.h.

Referenced by cacheEndTask(), cachePutData(), and cacheSetCurrentTask().

#define E_TASK_EXISTS   -2
 

task already exists

Definition at line 42 of file constants.h.

#define E_TASK_NOT_RUNNING   -3
 

task already finished or still created

Definition at line 43 of file constants.h.

Referenced by cacheEndTask(), cacheSetCurrentTask(), dsEndTask(), and dsReadBuffer().

#define HASH_SIZE   1000
 

Definition at line 4 of file constants.h.

#define ID_LIST_INIT_SIZE   10
 

Definition at line 21 of file constants.h.

Referenced by initCacheStruct().

#define INITIAL_CAPACITY   100
 

Definition at line 6 of file constants.h.

Referenced by cachePutData(), createDataSpace(), initCacheStruct(), and putData().

#define MANAGER_MAIN_RECV_TIMEOUT   1
 

appendWork() main loop trecv timeout, in seconds

Definition at line 47 of file constants.h.

#define MAX_COM_LENGTH   (MAX_CWD_LENGTH+MAX_XNAME_LENGTH+1)
 

max command length

Definition at line 28 of file constants.h.

#define MAX_CWD_LENGTH   500
 

max cwd string length

Definition at line 26 of file constants.h.

Referenced by createLayout(), and recvFilterData().

#define MAX_FNAME_LENGTH   50
 

max filtername length

Definition at line 29 of file constants.h.

Referenced by abreTag(), instSaveTimings(), recvFilterData(), and setFDName().

#define MAX_HNAME_LENGTH   100
 

max hostname length

Definition at line 32 of file constants.h.

Referenced by abreTag(), addHostToFilter(), createFilterData(), createFilterSpec(), fsSpawnInstances(), hostsGetIndexByName(), hostsSetName(), recvFilterData(), setFDHostName(), and setOPLibName().

#define MAX_IDIR_LENGTH   500
 

max instrumentation directory length

Definition at line 37 of file constants.h.

Referenced by instSaveTimings(), instSetDir(), and recvFilterData().

#define MAX_LBL_LENGTH   1000
 

max label length

Definition at line 30 of file constants.h.

Referenced by dsWriteBuffer().

#define MAX_LNAME_LENGTH   (MAX_FNAME_LENGTH+6)
 

max libname length, +6 for the lib and .so

Definition at line 31 of file constants.h.

Referenced by abreTag(), recvFilterData(), setFDLibName(), and setOPLibName().

#define MAX_PLNAME_LENGTH   50
 

max policy name length

Definition at line 34 of file constants.h.

Referenced by abreTag(), getWritePolicyByName(), and setFrom().

#define MAX_PTNAME_LENGTH   50
 

max port name length

Definition at line 33 of file constants.h.

Referenced by abreTag(), recvFilterData(), setFrom(), and setTo().

#define MAX_RNAME_LENGTH   50
 

max resource name length

Definition at line 36 of file constants.h.

Referenced by abreTag(), hostsAddResource(), and hostsHasResource().

#define MAX_SNAME_LENGTH   50
 

max stream name length

Definition at line 35 of file constants.h.

#define MAX_XNAME_LENGTH   100
 

max executable name

Definition at line 27 of file constants.h.

#define MAXFILTERS   20
 

maximum number of filters allowed

Definition at line 9 of file constants.h.

Referenced by addFilterSpec().

#define MAXHOSTS   40
 

maximum number of hosts the system can have

Definition at line 14 of file constants.h.

Referenced by hostsAdd(), hostsCreate(), hostsGetIndex(), and hostsGetIndexByResource().

#define MAXINPSTREAMS   MAXFILTERS
 

Definition at line 10 of file constants.h.

Referenced by addFDInputPort(), addInputToFilter(), and setFDNumInputs().

#define MAXINSTANCES   40
 

maximum number of instances a filter can have

Definition at line 15 of file constants.h.

Referenced by addHostToFilter(), createFilterSpec(), dsWriteBuffer(), initTerminationDetection(), recvFilterData(), and setFDNumInstances().

#define MAXOUTSTREAMS   MAXFILTERS
 

Definition at line 11 of file constants.h.

Referenced by addFDOutputPort(), and addOutputToFilter().

#define MAXRESOURCES   5
 

maximum number of resources a host can have

Definition at line 13 of file constants.h.

Referenced by hostsAddResource().

#define MAXSTREAMS   ((MAXINPSTREAMS+MAXOUTSTREAMS)/2)*MAXFILTERS
 

Definition at line 12 of file constants.h.

Referenced by addStreamSpec().

#define MINSIZE   100
 

Definition at line 18 of file constants.h.

Referenced by dsInitPack().

#define PROD_CONS_SIZE   1000
 

Definition at line 20 of file constants.h.

Referenced by initCacheStruct().


Generated on Tue Jan 17 19:19:31 2006 for Void by  doxygen 1.4.6