mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
2d713c647e
replaced stub with full implementation that returns a hash containing scheduler statistics: - tick: current tick counter - wakeup_tick: next scheduled wakeup time - dormant/ready/waiting/suspended: per-queue statistics each queue stat includes: - count: number of tasks in queue - tasks: array of task objects in that queue implements helper function mrb_stat_sub() to walk queues and collect task information. uses irq disable/enable to ensure consistent snapshot. returns hash directly as requested, not wrapped in stat object. Co-authored-by: Claude <noreply@anthropic.com>