-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTimer.h
34 lines (29 loc) · 945 Bytes
/
Timer.h
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
#pragma once
#include <bits/stdc++.h>
using namespace std::chrono;
using namespace std;
class RRTimeLog {
public:
std::chrono::_V2::system_clock::time_point start_time;
bool matroid_matching_completed = false;
std::chrono::_V2::system_clock::time_point matroid_matching_time;
std::chrono::milliseconds time_rr1 = 0s;
std::chrono::milliseconds time_rr1_5 = 0s;
std::chrono::milliseconds time_rr2 = 0s;
std::chrono::milliseconds time_rr3 = 0s;
std::chrono::milliseconds time_rr4 = 0s;
std::chrono::milliseconds time_rr5 = 0s;
int vertex_reduced_1 = 0;
int vertex_reduced_1_5 = 0;
int vertex_reduced_2 = 0;
int vertex_reduced_3 = 0;
int vertex_reduced_4 = 0;
int vertex_reduced_5 = 0;
int edge_reduced_1 = 0;
int edge_reduced_1_5 = 0;
int edge_reduced_2 = 0;
int edge_reduced_3 = 0;
int edge_reduced_4 = 0;
int edge_reduced_5 = 0;
void logMsg();
};