commit | fcaf4e0b8e15205370ce8b8edf0b84985be0e0fe | [log] [tgz] |
---|---|---|
author | Sonny Rao <[email protected]> | Mon Apr 13 18:13:15 2015 |
committer | ChromeOS Commit Bot <[email protected]> | Tue Apr 14 04:57:12 2015 |
tree | 136a3b6ab990a38623b2ae618f388d233897ef55 | |
parent | f0b749295ccc5c4de0b8163e1d8dc281916991ef [diff] |
support O_DIRECT for file read/write benchmarks This adds an option for enabling O_DIRECT for the uwrite, uread, and ureadrand benchmarks and when we enable that we consequently disable the "memory hog" code, which was unreliable on some platforms. BUG=chrome-os-partner:30913 TEST=build punybench for link (x86) and veyron (armv7a) and -d flag works Change-Id: I8270f2a58881675342fa54e730f98a8b72aae85b Reviewed-on: https://chromium-review.googlesource.com/265475 Reviewed-by: Luigi Semenzato <[email protected]> Commit-Queue: Sonny Rao <[email protected]> Tested-by: Sonny Rao <[email protected]>