Skip to content

Commit 26912bb

Browse files
committed
more
1 parent 17cc96f commit 26912bb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/simu5g/mec/platform/services/base/MecServiceBase.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ class MecServiceBase : public inet::ApplicationBase, public inet::TcpSocket::ICa
8585
* the current implementation assumes a M/M/1 system
8686
*/
8787
bool loadGenerator_ = false;
88-
double lambda_; // arrival rate of a BG request from a BG app
89-
double beta_; // arrival rate of a BG request from a BG app
88+
double lambda_ = 0.0; // arrival rate of a BG request from a BG app
89+
double beta_ = 0.0; // arrival rate of a BG request from a BG app
9090

91-
int numBgApps_; // number of BG apps
91+
int numBgApps_ = 0; // number of BG apps
9292
double rho_ = 0;
9393
simtime_t lastFGRequestArrived_ = 0;
9494

src/simu5g/mec/vim/VirtualisationInfrastructureManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class VirtualisationInfrastructureManager : public cSimpleModule
9898
//-------------------------------------
9999
// OMNeT++-like MEC service management
100100
// set of MEC Services loaded into the MEC host & platform
101-
int numServices;
101+
int numServices = 0;
102102
std::vector<cModule *> meServices;
103103
int nameCounter = 0;
104104

0 commit comments

Comments
 (0)