#include <ROOT/RTreeMapBase.hxx>
#include <cmath>
#include <iomanip>
#include <sstream>
#include <unordered_map>
#include <algorithm>
|
| static RTreeMapBase::RGBColor | ComputeColor (const std::string &str) |
| static uint64_t | ComputeFnv (const std::string &str) |
| static float | ComputeWorstRatio (const std::vector< RTreeMapBase::Node > &row, float width, float height, uint64_t totalSize, bool horizontalRows) |
| static std::string | GetDataStr (uint64_t bytes) |
| static std::vector< std::pair< std::string, uint64_t > > | GetDiskOccupation (const std::vector< RTreeMapBase::Node > &nodes) |
| static std::string | GetFloatStr (const float &n, const uint8_t &precision) |
| static std::vector< std::pair< RTreeMapBase::Node, RTreeMapBase::Rect > > | SquarifyChildren (const std::vector< RTreeMapBase::Node > &children, RTreeMapBase::Rect rect, bool horizontalRows, uint64_t totalSize) |
- Author
- Patryk Tymoteusz Pilichowski patry.nosp@m.k.ty.nosp@m.moteu.nosp@m.sz.p.nosp@m.ilich.nosp@m.owsk.nosp@m.i@cer.nosp@m.n.ch
- Date
- 2025-08-21
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition in file RTreeMapBase.cxx.
◆ ComputeColor()
◆ ComputeFnv()
| uint64_t ComputeFnv |
( |
const std::string & | str | ) |
|
|
static |
◆ ComputeWorstRatio()
| float ComputeWorstRatio |
( |
const std::vector< RTreeMapBase::Node > & | row, |
|
|
float | width, |
|
|
float | height, |
|
|
uint64_t | totalSize, |
|
|
bool | horizontalRows ) |
|
static |
◆ GetDataStr()
| std::string GetDataStr |
( |
uint64_t | bytes | ) |
|
|
static |
◆ GetDiskOccupation()
| std::vector< std::pair< std::string, uint64_t > > GetDiskOccupation |
( |
const std::vector< RTreeMapBase::Node > & | nodes | ) |
|
|
static |
◆ GetFloatStr()
| std::string GetFloatStr |
( |
const float & | n, |
|
|
const uint8_t & | precision ) |
|
static |
◆ SquarifyChildren()
◆ kIndentationOffset
| float kIndentationOffset = 0.005f |
|
staticconstexpr |
◆ kPadTextOffset
| float kPadTextOffset = 0.004f |
|
staticconstexpr |
◆ kTextSizeFactor
| float kTextSizeFactor = 0.009f |
|
staticconstexpr |
◆ kUnits
| const char* kUnits[] = {"B", "KB", "MB", "GB", "TB", "PB", "EB"} |
|
staticconstexpr |