Skip to content

Commit 7b705e7

Browse files
committed
update experiments
1 parent be222c3 commit 7b705e7

File tree

5 files changed

+42
-33
lines changed

5 files changed

+42
-33
lines changed

experiment/client_single_filter.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ void ipe_client_single_filter_time(const int round){
3737

3838
// Output the storage.
3939
storage_file << "(" << num_row << ", " << sk_size << ")" << std::endl;
40-
41-
// Close the BP.
42-
BP::close();
4340
}
4441

42+
// Close the BP.
43+
BP::close();
44+
4545
// Create some blank spaces.
4646
time_file << std::endl << std::endl;
4747
storage_file << std::endl << std::endl;
@@ -127,11 +127,11 @@ void our_client_single_filter_time(const int round){
127127

128128
// Output the storage.
129129
storage_file << "(" << num_row << ", " << sk_size << ")" << std::endl;
130-
131-
// Close the BP.
132-
BP::close();
133130
}
134131

132+
// Close the BP.
133+
BP::close();
134+
135135
// Create some blank spaces.
136136
time_file << std::endl << std::endl;
137137
storage_file << std::endl << std::endl;

experiment/server_single_filter.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ void ipe_server_single_filter_time(const int round){
3434

3535
// Output the time.
3636
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
37-
38-
// Close the BP.
39-
BP::close();
4037
}
38+
39+
// Close the BP.
40+
BP::close();
41+
4142
// Create some blank spaces.
4243
file << std::endl << std::endl;
4344
}
@@ -80,10 +81,11 @@ void our_server_single_filter_time(const int round){
8081

8182
// Output the time.
8283
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
83-
84-
// Close the BP.
85-
BP::close();
8684
}
85+
86+
// Close the BP.
87+
BP::close();
88+
8789
// Create some blank spaces.
8890
file << std::endl << std::endl;
8991
}

experiment/total_equality.cpp

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ void ipe_total_equality_time(const int round){
4040

4141
// Output the time.
4242
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
43-
44-
// Close the BP.
45-
BP::close();
4643
}
44+
45+
// Close the BP.
46+
BP::close();
47+
4748
// Create some blank spaces.
4849
file << std::endl << std::endl;
4950
}
@@ -89,10 +90,11 @@ void kim_total_equality_time(const int round){
8990

9091
// Output the time.
9192
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
92-
93-
// Close the BP.
94-
BP::close();
9593
}
94+
95+
// Close the BP.
96+
BP::close();
97+
9698
// Create some blank spaces.
9799
file << std::endl << std::endl;
98100
}
@@ -140,10 +142,11 @@ void our_total_equality_time(const int round){
140142

141143
// Output the time.
142144
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
143-
144-
// Close the BP.
145-
BP::close();
146145
}
146+
147+
// Close the BP.
148+
BP::close();
149+
147150
// Create some blank spaces.
148151
file << std::endl << std::endl;
149152
}

experiment/total_multi_filter.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ void ipe_total_multi_filter_time(const int round){
3939

4040
// Output the time.
4141
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
42-
43-
// Close the BP.
44-
BP::close();
4542
}
43+
44+
// Close the BP.
45+
BP::close();
46+
4647
// Create some blank spaces.
4748
file << std::endl << std::endl;
4849
}
@@ -89,10 +90,11 @@ void our_total_multi_filter_time(const int round){
8990

9091
// Output the time.
9192
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
92-
93-
// Close the BP.
94-
BP::close();
9593
}
94+
95+
// Close the BP.
96+
BP::close();
97+
9698
// Create some blank spaces.
9799
file << std::endl << std::endl;
98100
}

experiment/total_single_filter.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ void ipe_total_single_filter_time(const int round){
4040

4141
// Output the time.
4242
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
43-
44-
// Close the BP.
45-
BP::close();
4643
}
44+
45+
// Close the BP.
46+
BP::close();
47+
4748
// Create some blank spaces.
4849
file << std::endl << std::endl;
4950
}
@@ -130,10 +131,11 @@ void our_total_single_filter_time(const int round){
130131

131132
// Output the time.
132133
file << "(" << num_col << ", " << time.count() / round << ")" << std::endl;
133-
134-
// Close the BP.
135-
BP::close();
136134
}
135+
136+
// Close the BP.
137+
BP::close();
138+
137139
// Create some blank spaces.
138140
file << std::endl << std::endl;
139141
}

0 commit comments

Comments
 (0)