-
Notifications
You must be signed in to change notification settings - Fork 0
/
params.cpp
34 lines (27 loc) · 1008 Bytes
/
params.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
#include <iostream>
#include "params.h"
using namespace std;
void CParameters::print()
{
cout << "------------ Print parameters -------------" << endl;
cout << "benchmark: " << benchmark << endl;
cout << "test: " << test << endl;
cout << "ip: " << ip << endl;
cout << "port: " << port << endl;
cout << "debug: " << debug << endl;
cout << "duration: " << duration << endl;
cout << "lines: " << lines << endl;
cout << "logfile: " << logfile << endl;
cout << "logsize: " << max_log_file_size << endl;
cout << "logfiles: " << max_log_files << endl;
cout << "mode: " << mode << endl;
cout << "pure: " << pure << endl;
cout << "rate: " << rate << endl;
cout << "size: " << size << endl;
cout << "stdout: " << bstdout << endl;
// cout << "stats: " << stats << endl;
cout << "template: " << templatefile << endl;
cout << "metrics_addr: " << metrics_addr << endl;
cout << "metrics: " << metrics << endl;
cout << "------------ **************** -------------" << endl;
}