summaryrefslogtreecommitdiff
path: root/Userland/disk_benchmark.cpp
AgeCommit message (Collapse)Author
2020-08-12Userland: Mark compilation-unit-only functions as staticBen Wiederhake
This enables a nice warning in case a function becomes dead code.
2020-03-08Userspace: Add missing #includes now that AK/StdLibExtras.h is smallerAndreas Kling
2020-02-25AK: Make Vector use size_t for its size and capacityAndreas Kling
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2020-01-08disk_benchmark: Unbreak this utility now that read() of O_WRONLY failsAndreas Kling
2019-11-05disk_benchmark: Add a -c flag to enable use of disk cachesAndreas Kling
By default, disk_benchmark will now use the O_DIRECT flag, causing it to bypass the kernel's disk caches. This gives you "disk performance" numbers rather than "disk cache performance" numbers. You can use "disk_benchmark -c" to enable the caches. Fixes #703.
2019-11-02disk_benchmark: Use 64-bit values for bytes-per-second valuesAndreas Kling
Let's dress for the job we want, and prepare for faster speeds. :^)
2019-09-30ByteBuffer: Remove pointer() in favor of data()Andreas Kling
We had two ways to get the data inside a ByteBuffer. That was silly.
2019-09-28Userland: Add disk_benchmark program to test read/write speedsConrad Pankoff