summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-04 06:57:26 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-04 06:57:26 +0000
commit89e71994450f479a0f3839f192d868924626fc84 (patch)
tree41fc4c979074da8e169c708b17c9d6af35afaa7f /source/utils
parent85b5dc64cf7cc80567f9069a48c4d20c10ccec01 (diff)
downloadsamba-89e71994450f479a0f3839f192d868924626fc84.tar.gz
samba-89e71994450f479a0f3839f192d868924626fc84.tar.xz
samba-89e71994450f479a0f3839f192d868924626fc84.zip
need LOCKING_OBJ in locktest now
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/locktest.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/utils/locktest.c b/source/utils/locktest.c
index 2e5a4fb65be..0d1c1719a82 100644
--- a/source/utils/locktest.c
+++ b/source/utils/locktest.c
@@ -37,7 +37,7 @@ static BOOL analyze;
#define READ_PCT 50
#define LOCK_PCT 25
#define UNLOCK_PCT 65
-#define RANGE_MULTIPLE 1
+#define RANGE_MULTIPLE 32
struct record {
char r1, r2;
@@ -47,13 +47,17 @@ struct record {
};
static struct record preset[] = {
-#if 1
+#if 0
{36, 5, 1, 1, 1, 2, 1},
{ 2, 6, 0, 1, 0, 2, 1},
{53, 92, 1, 1, 0, 0, 1},
{99, 11, 1, 1, 2, 1, 1},
#endif
- };
+{36, 5, 1, 1, 1888, 960, 1},
+{47, 23, 0, 1, 0, 2176, 1},
+{84, 95, 1, 1, 3072, 96, 1},
+{65, 14, 0, 0, 2752, 352, 1},
+};
static struct record *recorded;