summaryrefslogtreecommitdiff
path: root/kernel/timer.c
AgeCommit message (Collapse)Author
2024-12-14sb/printf: Add ksbprintfAnton Kling
Easier to add formatted strings to the string builder without using intermediate buffers.
2024-12-11kernel: Add more sv functions and change interfacesAnton Kling
2024-12-10kernel: Add string view and string builderAnton Kling
This makes write/read calls that use strings to communicate much simpler and less error prone.
2024-12-09timer: Use strings instead of direct int64_t to communicate with userlandAnton Kling
This makes it easier to write and read from /dev/clock using shell scripts. The actual performance decrease will be minimal and the interface is not that perfect for proper time keeping anyways.
2024-07-04scheduler: Use get_uptime() since it caches the resultAnton Kling
Apparently getting the current TSC is a expensive operation. This change had a significant improvements for I/O heavy applications.
2024-07-04TCP: Allow delay for sendsAnton Kling
This is not at all optimal for applications that already buffer their data but can have a huge impact on those that don't. Applications that don't wish to use this should disable this for their socket.
2024-07-04Random: Improve random seeding.Anton Kling
Now it appears to be sufficiently good at producing a distinct seed at each boot without using a /etc/seed file. Previously it did not do this. Of course this is nowhere near cryptographically secure but randomness does assist with things such as kmalloc.
2024-07-04CMOS: Make read/write calls asyncAnton Kling
This can speed up boot times since CMOS would otherwise have to wait before it could perform a read/write call. Now it gets triggered by a interrupt.
2024-07-03Kernel/Time: Improve time keepingAnton Kling
This makes use of TSC and now provides a file system interface for userland programs to change the system time.