Project
Loading...
Searching...
No Matches
FrameworkGUIDebugger.cxx File Reference
#include "FrameworkGUIDebugger.h"
#include "Framework/ConfigContext.h"
#include "Framework/ConfigParamRegistry.h"
#include "DebugGUI/imgui.h"
#include "DebugGUI/implot.h"
#include "DebugGUI/imgui_extras.h"
#include "Framework/DriverControl.h"
#include "Framework/DriverInfo.h"
#include "Framework/DeviceMetricsHelper.h"
#include "Framework/DeviceMetricsInfo.h"
#include "FrameworkGUIDeviceInspector.h"
#include "FrameworkGUIDevicesGraph.h"
#include "FrameworkGUIDataRelayerUsage.h"
#include "PaletteHelpers.h"
#include "FrameworkGUIState.h"
#include "Framework/Signpost.h"
#include <DebugGUI/icons_font_awesome.h>
#include <fmt/format.h>
#include <algorithm>
#include <iostream>
#include <set>
#include <string>
#include <cinttypes>
#include <numeric>

Go to the source code of this file.

Classes

struct  o2::framework::gui::MultiplotData
 
struct  o2::framework::gui::HistoData
 
struct  o2::framework::gui::TopologyNodeInfo
 Information associated to a node in the topology. More...
 
struct  o2::framework::gui::MetricDisplayState
 
struct  o2::framework::gui::MetricIndex
 
struct  o2::framework::gui::AllMetricsStore
 
struct  o2::framework::gui::ColumnInfo
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::framework
 Defining PrimaryVertex explicitly as messageable.
 
namespace  o2::framework::gui
 State for the main GUI window.
 

Enumerations

enum struct  o2::framework::gui::MetricsDisplayStyle : int {
  o2::framework::gui::Lines = 0 , o2::framework::gui::Histos = 1 , o2::framework::gui::Sparks = 2 , o2::framework::gui::Table = 3 ,
  o2::framework::gui::Stems = 4
}
 
enum  o2::framework::gui::MetricTypes { o2::framework::gui::DEVICE_METRICS = 0 , o2::framework::gui::DRIVER_METRICS , o2::framework::gui::TOTAL_TYPES_OF_METRICS }
 

Functions

 O2_DECLARE_DYNAMIC_LOG (driver)
 
ImVec4 o2::framework::gui::colorForLogLevel (LogParsingHelpers::LogLevel logLevel)
 
void o2::framework::gui::displayHistory (const DeviceInfo &info, DeviceControl &control)
 
void o2::framework::gui::displaySparks (double startTime, std::vector< MetricIndex > &visibleMetricsIndex, std::vector< MetricDisplayState > &metricDisplayStates, AllMetricsStore const &metricStore)
 
int o2::framework::gui::formatSI (double value, char *buff, int size, void *user_data)
 
int o2::framework::gui::formatTimeSinceStart (double value, char *buff, int size, void *user_data)
 
void o2::framework::gui::displayDeviceMetrics (const char *label, size_t rangeBegin, size_t rangeEnd, size_t bins, MetricsDisplayStyle displayType, std::vector< MetricDisplayState > &state, AllMetricsStore const &metricStore, DriverInfo const &driverInfo)
 
void o2::framework::gui::metricsTableRow (std::vector< MetricIndex > metricIndex, AllMetricsStore const &metricsStore, int row)
 
bool o2::framework::gui::hasAll (const char *s, const char *q)
 
void o2::framework::gui::TextCenter (char const *text)
 
void o2::framework::gui::displayMetrics (gui::WorkspaceGUIState &state, DriverInfo const &driverInfo, std::vector< DeviceInfo > const &infos, std::vector< DataProcessorInfo > const &metadata, std::vector< DeviceControl > &controls, AllMetricsStore const &metricsStore)
 
void o2::framework::gui::pushWindowColorDueToStatus (const DeviceInfo &info)
 
void o2::framework::gui::popWindowColorDueToStatus ()
 
void o2::framework::gui::displayDriverInfo (DriverInfo const &driverInfo, DriverControl &driverControl)
 
std::function< void(void)> o2::framework::gui::getGUIDebugger (std::vector< DeviceInfo > const &infos, std::vector< DeviceSpec > const &devices, std::vector< DataProcessingStates > const &allStates, std::vector< DataProcessorInfo > const &metadata, std::vector< DeviceMetricsInfo > const &metricsInfos, DriverInfo const &driverInfo, std::vector< DeviceControl > &controls, DriverControl &driverControl)
 Helper to get the callback to draw the debug GUI.
 
void o2::framework::gui::updateMousePos (float x, float y)
 
void o2::framework::gui::updateMouseButton (bool clicked)
 
void o2::framework::gui::updateMouseWheel (int direction)
 
void o2::framework::gui::updateWindowSize (int x, int y)
 
void o2::framework::gui::keyEvent (char key, bool down)
 
void o2::framework::gui::charIn (char key)
 

Function Documentation

◆ O2_DECLARE_DYNAMIC_LOG()

O2_DECLARE_DYNAMIC_LOG ( driver  )