StreamManager.cpp File Reference

#include "StreamManager.h"
#include "SystemManager.h"
#include "SessionManager.h"
#include "NetMgr.h"
#include "timer.h"
#include "Event.h"
#include "RioError.h"
#include <string.h>
#include <errno.h>
#include <values.h>
#include <stdio.h>
#include <stdlib.h>
#include "ObjMapMgr.h"
#include <math.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "iostream"

Go to the source code of this file.

Functions

double getInterval (struct timeval initial, struct timeval final)
void printMemUsed ()

Variables

const char *const LOGSCACT = "SampleCACTime.log"
const char *const LOGSAPT = "SampleAdmissionProcessTime.log"
const char *const LOGSGENREQLT = "SampleGenReqListTime.log"
const char *const LOGSSORTLT = "SampleSortListTime.log"
const char *const LOGSBUFFERT = "SampleBufferTime.log"
const char *const LOGSSIMULT = "SampleSimulationTime.log"
const char *const LOGSWAITINGT = "SampleWaitingTime.log"
const char *const LOGEBUFFERT = "AverageBufferTime.log"
const char *const LOGECACT = "AverageCACTime.log"
const char *const LOGEAPT = "AverageAdmissionProcessTime.log"
const char *const LOGEGENREQLT = "AverageGenReqListTime.log"
const char *const LOGESORTLT = "AverageSortListTime.log"
const char *const LOGESIMULT = "AverageSimulationTime.log"
const char *const LOGEWAITINGT = "AverageWaitingTime.log"
const char *const LOGFILE = "RIOStreamManager.log"
const u64 STREAM_MANAGER_TIMER_INTERVAL = 100000
CTimer Timer
CEventManager EventManager
const int RELEASE_TIME_TOLERANCE = 100000

Function Documentation

double getInterval ( struct timeval  initial,
struct timeval  final 
)

Definition at line 2534 of file Router.cpp.

02535 {
02536     double msec;
02537     struct timeval interval;
02538     interval.tv_sec  = final.tv_sec  - initial.tv_sec;
02539     interval.tv_usec = final.tv_usec - initial.tv_usec;
02540 
02541     if( interval.tv_usec < 0 )
02542     {
02543         interval.tv_sec  -= 1;
02544         interval.tv_usec += 1000000;
02545     }
02546 
02547     msec = interval.tv_sec * 1000.0 + interval.tv_usec / 1000.0;
02548 
02549     return msec;
02550 }

void printMemUsed (  ) 

Variable Documentation

Definition at line 61 of file SystemManager.cpp.

const char* const LOGEAPT = "AverageAdmissionProcessTime.log"

Definition at line 72 of file server/StreamManager.cpp.

const char* const LOGEBUFFERT = "AverageBufferTime.log"

Definition at line 70 of file server/StreamManager.cpp.

const char* const LOGECACT = "AverageCACTime.log"

Definition at line 71 of file server/StreamManager.cpp.

const char* const LOGEGENREQLT = "AverageGenReqListTime.log"

Definition at line 73 of file server/StreamManager.cpp.

const char* const LOGESIMULT = "AverageSimulationTime.log"

Definition at line 75 of file server/StreamManager.cpp.

const char* const LOGESORTLT = "AverageSortListTime.log"

Definition at line 74 of file server/StreamManager.cpp.

const char* const LOGEWAITINGT = "AverageWaitingTime.log"

Definition at line 76 of file server/StreamManager.cpp.

const char* const LOGFILE = "RIOStreamManager.log"

Definition at line 79 of file server/StreamManager.cpp.

const char* const LOGSAPT = "SampleAdmissionProcessTime.log"

Definition at line 64 of file server/StreamManager.cpp.

const char* const LOGSBUFFERT = "SampleBufferTime.log"

Definition at line 67 of file server/StreamManager.cpp.

const char* const LOGSCACT = "SampleCACTime.log"

Definition at line 63 of file server/StreamManager.cpp.

const char* const LOGSGENREQLT = "SampleGenReqListTime.log"

Definition at line 65 of file server/StreamManager.cpp.

const char* const LOGSSIMULT = "SampleSimulationTime.log"

Definition at line 68 of file server/StreamManager.cpp.

const char* const LOGSSORTLT = "SampleSortListTime.log"

Definition at line 66 of file server/StreamManager.cpp.

const char* const LOGSWAITINGT = "SampleWaitingTime.log"

Definition at line 69 of file server/StreamManager.cpp.

const int RELEASE_TIME_TOLERANCE = 100000

Definition at line 88 of file server/StreamManager.cpp.

Definition at line 81 of file server/StreamManager.cpp.

Definition at line 62 of file SystemManager.cpp.

Generated on Wed Jul 4 16:03:30 2012 for RIO by  doxygen 1.6.3