Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <fishandfrolick@gmail.com>2012-06-30 23:23:45 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-06-30 23:23:45 +0400
commite3dd3a8d2c72f5f1d60b4ec12a628f319a1f1906 (patch)
tree46544c1e642100fd4f0367d0b2b9786e9cdac676 /mert/Util.cpp
parent1cf1c2e51561bac3b3ca0b7e5b63fb93f978a064 (diff)
namespace all classes in mert directory
Diffstat (limited to 'mert/Util.cpp')
-rw-r--r--mert/Util.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/mert/Util.cpp b/mert/Util.cpp
index 952aaf9aa..ac7d1803b 100644
--- a/mert/Util.cpp
+++ b/mert/Util.cpp
@@ -13,7 +13,7 @@ using namespace std;
namespace {
-Timer g_timer;
+MosesTuning::Timer g_timer;
int g_verbose = 0;
bool FindDelimiter(const std::string &str, const std::string &delim, size_t *pos)
@@ -24,6 +24,9 @@ bool FindDelimiter(const std::string &str, const std::string &delim, size_t *pos
} // namespace
+namespace MosesTuning
+{
+
int verboselevel()
{
return g_verbose;
@@ -86,3 +89,5 @@ double GetUserTime()
{
return g_timer.get_elapsed_cpu_time();
}
+
+}