diff options
author | Josh Blum | 2013-03-26 00:41:12 -0500 |
---|---|---|
committer | Josh Blum | 2013-03-26 00:41:12 -0500 |
commit | 38b24b7ef6e3d82c1a14b93c4ffafadbc2f1ae9b (patch) | |
tree | e33b921fb968ff14f260ee5b4afa254733ee37de /lib | |
parent | a23b425c689ac66cd4d6e986b8a4292e19fc9710 (diff) | |
download | sandhi-38b24b7ef6e3d82c1a14b93c4ffafadbc2f1ae9b.tar.gz sandhi-38b24b7ef6e3d82c1a14b93c4ffafadbc2f1ae9b.tar.bz2 sandhi-38b24b7ef6e3d82c1a14b93c4ffafadbc2f1ae9b.zip |
gras: rename stats to query
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/top_block_query.cpp (renamed from lib/top_block_stats.cpp) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index e667570..fa15efa 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -55,7 +55,7 @@ list(APPEND GRAS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/output_handlers.cpp ${CMAKE_CURRENT_SOURCE_DIR}/hier_block.cpp ${CMAKE_CURRENT_SOURCE_DIR}/top_block.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/top_block_stats.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/top_block_query.cpp ${CMAKE_CURRENT_SOURCE_DIR}/register_messages.cpp ${CMAKE_CURRENT_SOURCE_DIR}/theron_allocator.cpp ) diff --git a/lib/top_block_stats.cpp b/lib/top_block_query.cpp index 04fc7ae..1a6376c 100644 --- a/lib/top_block_stats.cpp +++ b/lib/top_block_query.cpp @@ -22,7 +22,7 @@ struct GetStatsReceiver : Theron::Receiver std::vector<GetStatsMessage> messages; }; -std::string TopBlock::get_stats(const std::string &) +std::string TopBlock::query(const std::string &) { //get stats with custom receiver and set high prio GetStatsReceiver receiver; |