/*
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 1998,2006 Oracle.  All rights reserved.
 *
 * $Id: README,v 1.3 2006/10/30 17:46:17 bostic Exp $
 */

TODO list:
     1.  windows build project
     2.  add process support

The framework is intended to be used as a cut/paste
framework for running N iterations of a workload in M parallel
threads or processes.  Processes have not yet been implemented.

There are C and C++ "template" files:
perf_main.c -- C template (there is no direct build support for this as yet)
perf_workload.cpp -- C++ template (build via "make perf" which builds
		  dbxml_perf in build_unix/.libs)

Run workload W, for I iterations [in parallel, in 
T [threads|processes]]

options:
	o Transactional (if so, Txn per N iterations)
	o 

Global State:
       o XmlManager
       struct perf_globals {
	      ...
       	      void *g_private; // owned by controlling process
       };

Workload:
	/* this is the abstraction that is passed to the framework */
	/* a non-zero return means failure, stop the run */
	typedef int (*work_func)(struct perf_globals *);
	struct perf_workload {
	       work_func w_setup;   /* called once */
	       work_func w_work;    /* the workload itself */
	       work_func w_cleanup; /* called once */
	};
       
