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 | 004d7447341b938efdec9223f899cf67f6b0dd86 (patch) | |
tree | 3b6da42ae9f5158b7c7e366aa1051e3277d937e6 /decoder/decoder.h | |
parent | c3828b0a2deb42de5c7378e93f93f5e69efb304c (diff) | |
parent | f80150140b5273fd1eb0dfb34bdd789c4cbd35e6 (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; |