X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestInline.cxx;h=38611daeb098edf45a07a991d05c3b220a23c72f;hb=c556c62e38ad8f5b0423a91d919c13ac85a23f32;hp=3b77056f727aa85f0c0c069bfa3371f4621fc760;hpb=6ee3a1426ecb98787e154fe572581e97efb962cd;p=gdcm.git diff --git a/Testing/TestInline.cxx b/Testing/TestInline.cxx index 3b77056f..38611dae 100755 --- a/Testing/TestInline.cxx +++ b/Testing/TestInline.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestInline.cxx,v $ Language: C++ - Date: $Date: 2005/10/24 13:17:22 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/11/02 09:40:11 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -57,28 +57,6 @@ double passDirect(double a, double b); double passRef(double &a, double &b); double passPtr(double *a, double *b); -/* -//To perform a full check, just put the two 'static' functions -//hifpswap and hNoifpswap in a .h - - static inline void hifpswap(double *a, double *b) - { - double tmp; - tmp = *a; - *a = *b; - *b = tmp; - } - - static void hNoifpswap(double *a, double *b) - { - double tmp; - tmp = *a; - *a = *b; - *b = tmp; - } - -*/ - #define \ mswap(a, b) \ { \ @@ -171,7 +149,7 @@ int TestInline(int argc, char *argv[]) if (argc > 1) nbLoop = atoi(argv[1]); else - nbLoop = 100000000; + nbLoop = 10000000; clock_t r1, r2; struct tms tms1, tms2;