Code quality: more MSVD warnings removal

This commit is contained in:
Philippe Tillet
2015-08-05 12:47:20 -07:00
parent 54c4a31af0
commit ef14e3aa17
5 changed files with 7 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ void bench(isc::numeric_type dtype, std::string operation)
#define BENCHMARK_ISAAC(OP, PERF) \
{\
std::vector<long> times;\
std::vector<double> times;\
double total_time = 0;\
while(total_time*1e-9 < 1e-3){\
std::list<isc::driver::Event> events;\
@@ -107,7 +107,7 @@ void bench(isc::numeric_type dtype, std::string operation)
queue.synchronize();\
OP;\
queue.synchronize();\
times.push_back(std::accumulate(events.begin(), events.end(), 0, &time_event));\
times.push_back((double)std::accumulate(events.begin(), events.end(), 0, &time_event));\
total_time+=times.back();\
}\
double t = median(times);\