X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Ftime_hashmap.cpp;h=efb3efc162c9d7f3c5c801077fb08f24afb8fc5a;hp=cea635b8b411ab2409a62c85601296c9ebc83995;hb=bee5f67dae5b409bc53ff71cb98f6630832540e7;hpb=c3c748381bda4f81b68e50db2eed440c19f24b85 diff --git a/check/time_hashmap.cpp b/check/time_hashmap.cpp index cea635b8..efb3efc1 100644 --- a/check/time_hashmap.cpp +++ b/check/time_hashmap.cpp @@ -3,7 +3,7 @@ * Timings for exhashmap<> operations. */ /* - * GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,13 +20,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include -#include #include "ginac.h" #include "timer.h" -using namespace std; using namespace GiNaC; +#include +#include +using namespace std; + template static void run_timing(unsigned size, double &time_insert, double &time_find, double &time_erase) {