Hi Pi-Cheng,
On 24 August 2015 at 06:36, Pi-Cheng Chen pi-cheng.chen@linaro.org wrote:
From: "pi-cheng.chen" pi-cheng.chen@linaro.org
Add 2 new kind of event for running a memory or a io bounded load. "mem" name for a load is memory bounded, and "iorun" name for a load is io bounded. The default file to be written to create the load is /dev/null and the device/file could be specified with "io_device" key in "global" section. The size of per-thread memory buffer to create IO/memory load could also be specified with "mem_buffer_size" in the same section.
Signed-off-by: Pi-Cheng Chen pi-cheng.chen@linaro.org
[snip]
+} diff --git a/doc/tutorial.txt b/doc/tutorial.txt index 12aba47..2eefdb8 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -67,6 +67,14 @@ case. Default value is False.
- gnuplot : Boolean. if True, it will create a gnu plot compatible file for
each threads (see gnuplot section for more details). Default value is False.
+"io_device" : Text. Path to the file which will be written to create IO-bounded
You should use String instead of Text. I have just sent a patch end of last week that fixes similar issues in tutorial.txt I will to fix this point when merging your patch.
Thanks, Vincent
+busy loop. Specify it carefully since it might damage the specified file. +Default value is "/dev/null".
+"mem_buffer_size" : Integer. The size of per-thread memory buffer in byte being +used to create IO-bounded and memory-bounded busy loop. Default value is +4194304(4MB).
*** default global object: "global" : { "duration" : -1,
[snip]
-- 1.9.1