summaryrefslogtreecommitdiff
path: root/source4/lib/util/time.h
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2008-05-20 10:54:45 -0700
committerJames Peach <jpeach@apple.com>2008-05-20 11:35:32 -0700
commit9a975a868e949e61cb011422363cd07b4ec0ce43 (patch)
treeecaa845c4f7b3f6b7be392ae51e04e6b72c6a016 /source4/lib/util/time.h
parent276fa76fa98355cc09dad4d069fd64d0be7f8655 (diff)
downloadsamba-9a975a868e949e61cb011422363cd07b4ec0ce43.tar.gz
samba-9a975a868e949e61cb011422363cd07b4ec0ce43.tar.bz2
samba-9a975a868e949e61cb011422363cd07b4ec0ce43.zip
smbtorture: Add RAW-BENCH-TCON benchmark.
Add a simple test to benchmark the rate at which a server can accept new tree connections. You can tune the length of time to run the benchmark for and the number of parallel connections to make. (This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
Diffstat (limited to 'source4/lib/util/time.h')
-rw-r--r--source4/lib/util/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util/time.h b/source4/lib/util/time.h
index 1ab976ca78..e4008c5782 100644
--- a/source4/lib/util/time.h
+++ b/source4/lib/util/time.h
@@ -127,7 +127,7 @@ _PUBLIC_ NTTIME nttime_from_string(const char *s);
/**
return (tv1 - tv2) in microseconds
*/
-_PUBLIC_ int64_t usec_time_diff(struct timeval *tv1, struct timeval *tv2);
+_PUBLIC_ int64_t usec_time_diff(const struct timeval *tv1, const struct timeval *tv2);
/**
return a zero timeval