X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=check%2Ftime_hashmap.cpp;h=c1392fb45513807c50e161ac46359aaf7ce8115b;hb=c40c54f17b68f79ee42833adb3364970385e2caa;hp=7ff288c96de38404067f4897d0643ca5855f7d59;hpb=7d870583a6bf21a2ffb7b6f051b702064623892e;p=ginac.git diff --git a/check/time_hashmap.cpp b/check/time_hashmap.cpp index 7ff288c9..c1392fb4 100644 --- a/check/time_hashmap.cpp +++ b/check/time_hashmap.cpp @@ -3,7 +3,7 @@ * Timings for exhashmap<> operations. */ /* - * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2010 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) {