diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-07-26 15:39:26 +0100 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-07-26 15:39:26 +0100 |
commit | 02c47c31050505eacc2aa9a17e77214a7b456171 (patch) | |
tree | ad39a2b2c328c6e4a5875e82f97d7de0a4cfa8b4 /decoder/decoder.h | |
parent | b89c1f03c89c6c30b88099e4f3e0c1753d338ea7 (diff) | |
parent | d2ca798de168f2009d3190d31e4b3f4b92985962 (diff) |
Merge remote branch 'agesmundo/master'
Diffstat (limited to 'decoder/decoder.h')
-rw-r--r-- | decoder/decoder.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/decoder/decoder.h b/decoder/decoder.h index 813400e3..5491369f 100644 --- a/decoder/decoder.h +++ b/decoder/decoder.h @@ -7,6 +7,20 @@ #include <boost/shared_ptr.hpp> #include <boost/program_options/variables_map.hpp> +#undef CP_TIME +//#define CP_TIME +#ifdef CP_TIME +#include <time.h> +struct CpTime{ +public: + static void Add(clock_t x); + static void Sub(clock_t x); + static double Get(); +private: + static clock_t time_; +}; +#endif + class SentenceMetadata; struct Hypergraph; struct DecoderImpl; |