From 65bdd5afd8ceaa1540abca3b4b9a16d53cc87733 Mon Sep 17 00:00:00 2001 From: sbrandt Date: Tue, 18 Feb 2014 18:17:22 +0000 Subject: remove timer git-svn-id: http://svn.cactuscode.org/flesh/trunk@5087 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/piraha/Call.cc | 6 +++--- 1 file 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 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;igroupCount();i++) { -- cgit v1.2.3