diff options
author | sbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2014-02-18 18:17:22 +0000 |
---|---|---|
committer | sbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2014-02-18 18:17:22 +0000 |
commit | 65bdd5afd8ceaa1540abca3b4b9a16d53cc87733 (patch) | |
tree | ff4f4d5a42170079e9f4826a900c5a07e4ef7f41 | |
parent | 375a3181eca67ade911daab563ff02cef15ddda4 (diff) |
remove timer
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5087 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | src/piraha/Call.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/piraha/Call.cc b/src/piraha/Call.cc index 76cd647a..21ab5c54 100644 --- a/src/piraha/Call.cc +++ b/src/piraha/Call.cc @@ -869,10 +869,10 @@ extern "C" int cctk_PirahaParser(const char *buffer,unsigned long buffersize,int std::string active; smart_ptr<Matcher> m2 = new Matcher(par_file_grammar,"file",buffer,buffersize); - std::clock_t st = std::clock(); + //std::clock_t st = std::clock(); bool b = m2->matches(); - std::clock_t en = std::clock(); - std::cout << "PARSE TIME = " << ((en-st)/CLOCKS_PER_SEC) << std::endl; + //std::clock_t en = std::clock(); + //std::cout << "PARSE TIME = " << ((en-st)/CLOCKS_PER_SEC) << std::endl; if(b) { int line = -1; for(int i=0;i<m2->groupCount();i++) { |