1 #include "uniconfroot.h"
3 #include "wvtimeutils.h"
5 int main(
int argc,
char **argv)
7 const char *mon = (argc > 1) ? argv[1] :
"ini:/tmp/big.cfg";
8 wvcon->print(
"Using uniconf moniker '%s'\n", mon);
17 for (start = wvtime(), count = 0;
18 msecdiff(wvtime(), start) < 5000;
21 if (!cfg.whichmount() || !cfg.whichmount()->isok())
23 wvcon->print(
"not isok! aborting.\n");
28 for (i.rewind(); i.next(); )
35 wvcon->print(
"%s iters/sec (%s in 5ms)\n",
Represents the root of a hierarhical registry consisting of pairs of UniConfKeys and associated strin...
This iterator walks through all immediate children of a UniConf node.
UniConf instances function as handles to subtrees of a UniConf tree and expose a high-level interface...
WvString is an implementation of a simple and efficient printable-string class.
Based on (and interchangeable with) struct timeval.