Skip to content

Commit

Permalink
remove root graphing
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Aug 18, 2024
1 parent 6da5597 commit 4abcfb1
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 122 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ file(
src/feminos/frame.cpp
src/platforms/linux/os_al.cpp
src/prometheus/prometheus.cpp
src/root/storage.cpp
src/root/graph.cpp)
src/root/storage.cpp)

target_link_libraries(
${PROJECT_NAME}
Expand Down
1 change: 0 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include <sys/shm.h>
#include <thread>

#include "graph.h"
#include "prometheus.h"
#include "storage.h"

Expand Down
8 changes: 0 additions & 8 deletions src/mclient/evbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ and timestamps depending on event builder mode
#include <sys/sem.h>
#include <sys/shm.h>

#include "graph.h"
#include "prometheus.h"
#include "storage.h"

Expand Down Expand Up @@ -905,7 +904,6 @@ int EventBuilder_Loop(EventBuilder* eb) {

auto& prometheus_manager = mclient_prometheus::PrometheusManager::Instance();
auto& storage_manager = mclient_storage::StorageManager::Instance();
// auto& graphManager = mclient_graph::GraphManager::Instance();

if (storage_manager.IsInitialized()) {

Expand All @@ -925,12 +923,6 @@ int EventBuilder_Loop(EventBuilder* eb) {
storage_manager.Checkpoint();

prometheus_manager.UpdateOutputRootFileSize();
/*
if (graphManager.GetSecondsSinceLastDraw() > 10) {
// Avoid drawing too often
graphManager.DrawEvent(storage_manager.event);
}
*/

storage_manager.Clear();
}
Expand Down
65 changes: 0 additions & 65 deletions src/root/graph.cpp

This file was deleted.

46 changes: 0 additions & 46 deletions src/root/graph.h

This file was deleted.

0 comments on commit 4abcfb1

Please sign in to comment.