File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,11 @@ int main(int argc, char** argv) {
62
62
if (!states[0 ]) {
63
63
printf (" -\t " );
64
64
} else {
65
- double total = 0.0 ;
66
65
for (auto & state : states) {
67
66
auto start = std::chrono::steady_clock::now ();
68
67
minisketch_decode (state, 2 * syndromes, roots.data ());
69
68
auto stop = std::chrono::steady_clock::now ();
70
69
std::chrono::duration<double > dur (stop - start);
71
- total += dur.count ();
72
70
benches.push_back (dur.count ());
73
71
}
74
72
std::sort (benches.begin (), benches.end ());
@@ -98,15 +96,13 @@ int main(int argc, char** argv) {
98
96
if (!states[0 ]) {
99
97
printf (" -\t " );
100
98
} else {
101
- double total = 0.0 ;
102
99
for (auto & state : states) {
103
100
auto start = std::chrono::steady_clock::now ();
104
101
for (auto val : data) {
105
102
minisketch_add_uint64 (state, val);
106
103
}
107
104
auto stop = std::chrono::steady_clock::now ();
108
105
std::chrono::duration<double > dur (stop - start);
109
- total += dur.count ();
110
106
benches.push_back (dur.count ());
111
107
}
112
108
std::sort (benches.begin (), benches.end ());
You can’t perform that action at this time.
0 commit comments