|
@@ -31,14 +31,14 @@ static bool no_prefault;
|
|
|
|
|
|
static const struct option options[] = {
|
|
static const struct option options[] = {
|
|
OPT_STRING('l', "length", &length_str, "1MB",
|
|
OPT_STRING('l', "length", &length_str, "1MB",
|
|
- "Specify length of memory to copy. "
|
|
|
|
- "available unit: B, MB, GB (upper and lower)"),
|
|
|
|
|
|
+ "Specify length of memory to set. "
|
|
|
|
+ "Available units: B, KB, MB, GB and TB (upper and lower)"),
|
|
OPT_STRING('r', "routine", &routine, "default",
|
|
OPT_STRING('r', "routine", &routine, "default",
|
|
- "Specify routine to copy"),
|
|
|
|
|
|
+ "Specify routine to set"),
|
|
OPT_INTEGER('i', "iterations", &iterations,
|
|
OPT_INTEGER('i', "iterations", &iterations,
|
|
"repeat memset() invocation this number of times"),
|
|
"repeat memset() invocation this number of times"),
|
|
OPT_BOOLEAN('c', "clock", &use_clock,
|
|
OPT_BOOLEAN('c', "clock", &use_clock,
|
|
- "Use CPU clock for measuring"),
|
|
|
|
|
|
+ "Use cycles event instead of gettimeofday() for measuring"),
|
|
OPT_BOOLEAN('o', "only-prefault", &only_prefault,
|
|
OPT_BOOLEAN('o', "only-prefault", &only_prefault,
|
|
"Show only the result with page faults before memset()"),
|
|
"Show only the result with page faults before memset()"),
|
|
OPT_BOOLEAN('n', "no-prefault", &no_prefault,
|
|
OPT_BOOLEAN('n', "no-prefault", &no_prefault,
|