summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-02-01 10:47:28 -0500
committerEliot Horowitz <eliot@10gen.com>2010-02-01 10:47:28 -0500
commit4f8d71b47519256d70381f2f78ceafa8331aca2d (patch)
treed33fd12de880df82393a953fd5f6bee99bd699d0
parentaff272915781e39631a0c33e6f56fdfc4cb741d4 (diff)
downloadmongo-4f8d71b47519256d70381f2f78ceafa8331aca2d.tar.gz
move util/top to db/stats/top
-rw-r--r--SConstruct2
-rw-r--r--db/client.h2
-rw-r--r--db/db.h1
-rw-r--r--db/stats/top.cpp (renamed from util/top.cpp)0
-rw-r--r--db/stats/top.h (renamed from util/top.h)0
-rw-r--r--util/util.cpp1
6 files changed, 2 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index 2d1f52eeeca..c9e7d4c52ae 100644
--- a/SConstruct
+++ b/SConstruct
@@ -338,7 +338,7 @@ if GetOption( "extralib" ) is not None:
# ------ SOURCE FILE SETUP -----------
commonFiles = Split( "stdafx.cpp buildinfo.cpp db/jsobj.cpp db/json.cpp db/commands.cpp db/lasterror.cpp db/nonce.cpp db/queryutil.cpp shell/mongo.cpp" )
-commonFiles += [ "util/background.cpp" , "util/mmap.cpp" , "util/sock.cpp" , "util/util.cpp" , "util/top.cpp" , "util/message.cpp" ,
+commonFiles += [ "util/background.cpp" , "util/mmap.cpp" , "util/sock.cpp" , "util/util.cpp" , "util/message.cpp" ,
"util/assert_util.cpp" , "util/httpclient.cpp" , "util/md5main.cpp" , "util/base64.cpp", "util/debug_util.cpp",
"util/thread_pool.cpp" ]
commonFiles += Glob( "util/*.c" )
diff --git a/db/client.h b/db/client.h
index 1fc2fcd31d3..6f37c3435b7 100644
--- a/db/client.h
+++ b/db/client.h
@@ -27,7 +27,7 @@
#include "../stdafx.h"
#include "namespace.h"
#include "lasterror.h"
-#include "../util/top.h"
+#include "stats/top.h"
namespace mongo {
diff --git a/db/db.h b/db/db.h
index d0e9642ef3b..65b49a409d0 100644
--- a/db/db.h
+++ b/db/db.h
@@ -18,7 +18,6 @@
#include "../stdafx.h"
#include "../util/message.h"
-#include "../util/top.h"
#include "boost/version.hpp"
#include "concurrency.h"
#include "pdfile.h"
diff --git a/util/top.cpp b/db/stats/top.cpp
index 98d959812fd..98d959812fd 100644
--- a/util/top.cpp
+++ b/db/stats/top.cpp
diff --git a/util/top.h b/db/stats/top.h
index aaf7c3f5af0..aaf7c3f5af0 100644
--- a/util/top.h
+++ b/db/stats/top.h
diff --git a/util/util.cpp b/util/util.cpp
index f0864e00764..e82b649a924 100644
--- a/util/util.cpp
+++ b/util/util.cpp
@@ -18,7 +18,6 @@
#include "stdafx.h"
#include "goodies.h"
#include "unittest.h"
-#include "top.h"
#include "file_allocator.h"
#include "optime.h"