33 "Whether to disable Direct I/O and use non-direct I/O instead.");
35 "As if we write out to /dev/null. Used to measure performance w/o I/O.");
37 "additional CPU cycles to busy-wait for each seek. 0 (default) disables it.");
39 "additional CPU cycles to busy-wait for each 1KB read. 0 (default) disables it."
40 " For example, 4kb read is seek+scan*4 cycles, 1MB read is seek+scan*1000 cycles.");
42 "additional CPU cycles to busy-wait for each 1KB write. 0 (default) disables it.");
#define EXTERNALIZE_LOAD_ELEMENT(element, attribute)
Reads a child xml element to load a member variable of this object.
uint32_t emulated_seek_latency_cycles_
[Experiments] additional CPU cycles to busy-wait for each seek.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Brings error stacktrace information as return value of functions.
ErrorStack load(tinyxml2::XMLElement *element) override
Reads the content of this object from the given XML element.
uint32_t emulated_write_kb_cycles_
[Experiments] additional CPU cycles to busy-wait for each 1KB write.
const ErrorStack kRetOk
Normal return value for no-error case.
ErrorStack save(tinyxml2::XMLElement *element) const override
Writes the content of this object to the given XML element.
#define EXTERNALIZE_SAVE_ELEMENT(element, attribute, comment)
Adds an xml element to represent a member variable of this object.
bool null_device_
[Experiments] as if we write out to /dev/null.
uint32_t emulated_read_kb_cycles_
[Experiments] additional CPU cycles to busy-wait for each 1KB read.
bool disable_direct_io_
[Experiments] Whether to disable Direct I/O and use non-direct I/O instead.