diff options
author | aw148015 <none@none> | 2008-03-18 13:52:42 -0700 |
---|---|---|
committer | aw148015 <none@none> | 2008-03-18 13:52:42 -0700 |
commit | 1b24378ce424258d555f0363de97728c68c862ce (patch) | |
tree | bbe79ddba7d5a5756ae39cbb3069307df2fa962e /usr/src/cmd/filebench/common/procflow.h | |
parent | 334edc4840d12dfd25a5559468cdd15a375cd111 (diff) | |
download | illumos-gate-1b24378ce424258d555f0363de97728c68c862ce.tar.gz |
6627653 FileBench needs to support random variables
Diffstat (limited to 'usr/src/cmd/filebench/common/procflow.h')
-rw-r--r-- | usr/src/cmd/filebench/common/procflow.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/cmd/filebench/common/procflow.h b/usr/src/cmd/filebench/common/procflow.h index 7b8134be65..f60450a626 100644 --- a/usr/src/cmd/filebench/common/procflow.h +++ b/usr/src/cmd/filebench/common/procflow.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -40,19 +40,18 @@ extern "C" { typedef struct procflow { char pf_name[128]; int pf_instance; - var_integer_t pf_instances; + avd_t pf_instances; int pf_running; struct procflow *pf_next; pid_t pf_pid; pthread_t pf_tid; struct threadflow *pf_threads; int pf_attrs; - var_integer_t pf_nice; + avd_t pf_nice; flowstat_t pf_stats; } procflow_t; -procflow_t *procflow_define(char *name, procflow_t *inherit, - var_integer_t instances); +procflow_t *procflow_define(char *name, procflow_t *inherit, avd_t instances); int procflow_init(void); void procflow_shutdown(void); int procflow_exec(char *name, int instance); |