'use client'; import { Clock } from 'lucide-react'; interface ProcessingStatsCardProps { avgLatency: number; peakHour: number; throughput: number; uptime: number; } export default function ProcessingStatsCard({ avgLatency, peakHour, throughput, uptime }: ProcessingStatsCardProps) { // Generate radial chart data for 24-hour processing const hours = Array.from({ length: 24 }, (_, i) => { const baseLoad = 40 + Math.random() * 30; const peakBoost = Math.abs(i - peakHour) < 3 ? 20 : 0; return Math.min(100, baseLoad + peakBoost); }); return (
Real-time Statistics
{throughput}
TPS
{peakHour}:00
Peak
{uptime}%
Uptime