summaryrefslogtreecommitdiff
path: root/nsprpub/pr/tests/thruput.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/thruput.c')
-rw-r--r--nsprpub/pr/tests/thruput.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/nsprpub/pr/tests/thruput.c b/nsprpub/pr/tests/thruput.c
index a772deaab1..156bbde9a3 100644
--- a/nsprpub/pr/tests/thruput.c
+++ b/nsprpub/pr/tests/thruput.c
@@ -27,7 +27,20 @@
#include "plgetopt.h"
#define ADDR_BUFFER 100
-#define PORT_NUMBER 51877
+
+#ifdef DEBUG
+#define PORT_INC_DO +100
+#else
+#define PORT_INC_DO
+#endif
+#ifdef IS_64
+#define PORT_INC_3264 +200
+#else
+#define PORT_INC_3264
+#endif
+
+#define PORT_NUMBER 51877 PORT_INC_DO PORT_INC_3264
+
#define SAMPLING_INTERVAL 10
#define BUFFER_SIZE (32 * 1024)