56 QColor getFpsColor(
double fps)
const;
57 void drawFrametimeGraph(QPainter& painter,
const QRect& rect,
bool isStale,
bool isVeryStale);
58 void drawStatsText(QPainter& painter,
const QRect& rect);
62 bool hasMetrics_ =
false;
65 double targetFps_ = 60.0;
66 bool showGraph_ =
true;
67 bool compactMode_ =
false;
72 QColor graphLineColor_;
73 QColor graphFillColor_;
82 static constexpr int GRAPH_HEIGHT = 40;
83 static constexpr int GRAPH_PADDING = 4;
84 static constexpr double FRAMETIME_SCALE_MAX = 50.0;
Real-time frame timing and performance metrics.