X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=tests%2Ftimeprint.cc;h=bc1d224486f232b2150944b59d9470e82befdf20;hb=eedac861e082bb3e12392e0037842470310f80d6;hp=b8774aafe2d5d13870dfdc985fc8a6a1549d45cc;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/tests/timeprint.cc b/tests/timeprint.cc index b8774aa..bc1d224 100644 --- a/tests/timeprint.cc +++ b/tests/timeprint.cc @@ -1,13 +1,13 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +using namespace cln; int main (int argc, char * argv[]) { @@ -24,11 +24,11 @@ int main (int argc, char * argv[]) // One run to fill the cache. { char* p = cl_decimal_string(a); - cl_free_hook(p); + free_hook(p); } // Now start the timing. { CL_TIMING; for (int rep = repetitions; rep > 0; rep--) - { char* p = cl_decimal_string(a); cl_free_hook(p); } + { char* p = cl_decimal_string(a); free_hook(p); } } }