add missing header

This commit is contained in:
Konstantinos Margaritis 2021-09-02 15:35:23 +03:00 committed by Konstantinos Margaritis
parent be1551aa94
commit 91f58fb1ca
2 changed files with 7 additions and 3 deletions

View File

@ -2,7 +2,9 @@
#include "benchmarks.hpp" #include "benchmarks.hpp"
#include <iostream> #include <iostream>
#include <chrono> #include <chrono>
#include <time.h> #include <cstring>
#include <ctime>
/* /*
#define RST "\x1B[0m" #define RST "\x1B[0m"
#define KRED "\x1B[31m" #define KRED "\x1B[31m"

View File

@ -2,7 +2,9 @@
#include "benchmarks.hpp" #include "benchmarks.hpp"
#include <iostream> #include <iostream>
#include <chrono> #include <chrono>
#include <time.h> #include <cstring>
#include <ctime>
/* /*
#define RST "\x1B[0m" #define RST "\x1B[0m"
#define KRED "\x1B[31m" #define KRED "\x1B[31m"
@ -84,4 +86,4 @@ void rtruffle_benchmarks(int size, int loops, int M, bool has_match) {
std::cout<<"\x1B[35m Case with no match in random pos and size: "<<size<<" for "<<loops<<" loops:"<<"\x1B[36m rtruffleExec elapsetime: \x1B[0m"<<total_sec<<"\x1B[36m bandwidth: \x1B[0m"<<(size/total_sec)<<std::endl; std::cout<<"\x1B[35m Case with no match in random pos and size: "<<size<<" for "<<loops<<" loops:"<<"\x1B[36m rtruffleExec elapsetime: \x1B[0m"<<total_sec<<"\x1B[36m bandwidth: \x1B[0m"<<(size/total_sec)<<std::endl;
} }
delete [] kt1; delete [] kt1;
} }