From: jpr Date: Tue, 18 Jul 2006 10:12:56 +0000 (+0000) Subject: Forgot to comment out Linux specific code (CPU time computation) X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c3bd8e93354eee5ff6244dabf8cadbef3ab3e8ee;p=gdcm.git Forgot to comment out Linux specific code (CPU time computation) --- diff --git a/Example/MakeDicomDir.cxx b/Example/MakeDicomDir.cxx index 2cb6d118..c3ea3e2d 100644 --- a/Example/MakeDicomDir.cxx +++ b/Example/MakeDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: MakeDicomDir.cxx,v $ Language: C++ - Date: $Date: 2006/07/17 13:25:00 $ - Version: $Revision: 1.21 $ + Date: $Date: 2006/07/18 10:12:56 $ + Version: $Revision: 1.22 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -22,7 +22,7 @@ #include "gdcmDebug.h" #include "gdcmArgMgr.h" -#include +//#include // Linux Only #include @@ -109,13 +109,13 @@ int main(int argc, char *argv[]) dcmdir->SetDirectoryName(dirName); //dcmdir->SetParseDir(true); - struct tms tms1, tms2; // Time measurements - times(&tms1); + // struct tms tms1, tms2; // Time measurements + // times(&tms1); dcmdir->Load(); - times(&tms2); - std::cout - << (long) ((tms2.tms_utime) - (tms1.tms_utime)) - << std::endl; + //times(&tms2); + //std::cout + // << (long) ((tms2.tms_utime) - (tms1.tms_utime)) + // << std::endl; if ( gdcm::Debug::GetDebugFlag() ) std::cout << "======================= End Parsing Directory" << std::endl;