Pomilon-Intelligence-Lab/EBOS ? reverse-engineered prompt
Reverse engineered prompt
Build me a small project that simulates this EBOS scheduler and lets me benchmark it.
I want a Python app that runs a discrete event simulation of an event boosted O1 style scheduler with per CPU run queues, priority buckets, and a clear difference between a snappy desktop mode and a throughput focused server mode. It should model tasks waking up, sleeping, getting boosted, and being picked in constant time style bucket selection, then print useful benchmark results like latency, jitter, and average completion time.
Please also include the C pthread test side so I can compile and run a real multithreaded benchmark from the same repo. Keep the code clean and easy to understand, and make the default run simple, like one command for the Python simulation and one compile and run path for the C test. If anything about the intended behavior is unclear, use the README and look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit