The command `kcutiltest' is a utility for facility test and performance test of the utility functions.
This command is used in the following format. `rnum' specifies the number of iterations. `path'
specifies the path of a file.
kcutiltestmutex [-thnum] [-ivnum] rnum
Performs test of lock primitives.
kcutiltestcond [-thnum] [-ivnum] rnum
Performs test of condition variable primitives.
kcutiltestpara [-thnum] [-ivnum] rnum
Performs test of parallel processing.
kcutiltestfile [-thnum] [-rnd] [-msiznum] pathrnum
Performs test of the file system abstraction.
kcutiltestlhmap [-rnd] [-bnumnum] rnum
Performs test of doubly-linked hash map.
kcutiltestthmap [-rnd] [-bnumnum] rnum
Performs test of memory-saving hash map.
kcutiltesttalist [-rnd] rnum
Performs test of memory-saving array list.
kcutiltestmiscrnum
Performs test of miscellaneous mechanisms.
Options feature the following.
-thnum : specifies the number of worker threads.
-ivnum : specifies the interval between iterations.
-rnd : performs random test.
-msiznum : specifies the size of the memory-mapped region.
-bnumnum : specifies the number of buckets of the hash table.
This command returns 0 on success, another on failure.