-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
35 lines (33 loc) · 1 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <iostream>
#include <iomanip>
#include "datacenter.h"
#include "simulator.h"
#include "utility.h"
using namespace std;
int main()
{
Simulator sim;
return sim.Start();
// cout << "Hello, World!" << endl;
// if (static_cast<PowerState>(0) == PowerState::HIGH_POWER)
// cout << "HIGH_POWER" << endl;
// RandomNumberGenerator randomNumberGenerator;
// randomNumberGenerator.seed = 98;
// randomNumberGenerator.totalSeeds = 20;
// randomNumberGenerator.Initialize();
// double sum = 0;
// for (int i = 0; i < 20; i++)
// {
// for (int j = 0; j < 50; j++)
// {
// sum += randomNumberGenerator.GenerateNextNumber(i, j * 5 + 100);
// cout << setprecision(5) << randomNumberGenerator.GenerateNextNumber(i, j * 5 + 100) << " ";
// }
// cout << sum / 50;
// cout << endl;
// }
// Logger logger(LogLevel::INFO);
// logger.log(LogLevel::DEBUG) << "bhavesh";
// logger.log(LogLevel::INFO) << "singh";
// return 0;
}