2 * @(#)sfs_m_def.h 2.1 97/10/23
6 * Copyright (c) 1992-1997,2001 by Standard Performance Evaluation Corporation
8 * Standard Performance Evaluation Corporation (SPEC)
9 * 6585 Merchant Place, Suite 100
12 * This product contains benchmarks acquired from several sources who
13 * understand and agree with SPEC's goal of creating fair and objective
14 * benchmarks to measure computer performance.
16 * This copyright notice is placed here only to protect SPEC in the
17 * event the source is misused in any manner that is contrary to the
18 * spirit, the goals and the intent of SPEC.
20 * The source code is provided to the user or company under the license
21 * agreement for the SPEC Benchmark Suite for this product.
24 /*****************************************************************
26 * Copyright 1991,1992 Legato Systems, Inc. *
27 * Copyright 1991,1992 Auspex Systems, Inc. *
28 * Copyright 1991,1992 Data General Corporation *
29 * Copyright 1991,1992 Digital Equipment Corporation *
30 * Copyright 1991,1992 Interphase Corporation *
31 * Copyright 1991,1992 Sun Microsystems, Inc. *
33 *****************************************************************/
35 #define MAX_LINE_LEN 160 /* max per line results string */
36 #define MAX_STR1_LEN 31 /* max msg, number, and xid str len */
37 #define MAX_STR2_LEN 2560 /* total results data string length */
38 #define MULTICLIENT_OFFSET 500 /* Runtime offset */
40 /* multi-client sync logfiles and prefixes */
41 #define SFS_CLIENT_SYNC_LOG "/tmp/sfs_CL" /* client logfile prefix */
42 #define SFS_PRIME_SYNC_LOG "/tmp/sfs_PC_sync" /* prime client logfile */
43 #define PRIME_RESULTS_LOG "/tmp/sfs_res" /* prime results logfile prefix */
46 int clnt_id; /* client number */
47 char *clnt_type; /* message type, hard coded */
48 char *clnt_transaction; /* transaction id */
49 char *clnt_data; /* results strings */
51 typedef struct sync_string sync_string;
53 #define SFS_SYNCPROG ((uint32_t) 100500)
54 #define SFS_SYNCVERS ((uint32_t) 1)
55 #define SIGNAL_NULLPROC ((uint32_t) 0)
56 #define SIGNAL_SFS ((uint32_t) 1)
58 extern bool_t xdr_sync_string(XDR *, sync_string *);
59 extern int * signal_sfs_1(sync_string *, CLIENT *);