00001 00002 // ####################################################################### 00003 00004 // SSAHA : Sequence Search and Alignment by Hashing Algorithm 00005 // Version 3.2, released 1st March 2004 00006 // Copyright (c) Genome Research 2002 00007 00008 // SSAHA is free software; you can redistribute it and/or modify 00009 // it under the terms of version 2 of the GNU General Public Licence 00010 // as published by the Free Software Foundation. 00011 00012 // This program is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public Licence for more details. 00016 00017 // You should have received a copy of the GNU General Public Licence 00018 // along with this program; if not, write to the Free Software 00019 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 // or see the on-line version at http://www.gnu.org/copyleft/gpl.txt 00021 00022 // ####################################################################### 00023 00024 // Module Name : testTimeStamp 00025 // File Name : testTimeStamp.cpp 00026 // Language : C++ 00027 // Module Author: Anthony J. Cox (ac2@sanger.ac.uk) 00028 00029 // Description: 00030 00031 // Includes: 00032 00033 #include "TimeStamp.h" 00034 #include <iostream> 00035 00036 // ### Function Definitions ### 00037 00038 // Name: 00039 // Arguments: 00040 // TYPE NAME IN/OUT COMMENT 00041 // Returns: TYPE COMMENT 00042 int main( void ) 00043 { 00044 // int fred = 1; 00045 Timer fred; 00046 int a; 00047 cout << fred; 00048 for ( int i(0) ; i < 10000000 ; i ++ ) a=i<<3; 00049 cout << fred; 00050 return (0); 00051 } 00052 00053 00054 // End of file testTimeStamp.cpp 00055
1.5.2