From 9529b4948ec5ba1fe7268c86e8107174ac19f766 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Mon, 18 Oct 2004 13:58:41 +0000 Subject: r3040: Add sleeps between operations to nbench. Submitted by aliguori@us.ibm.com. (This used to be commit b1bbf0a431a9bcfc786b773be1adf39eaccb0b6e) --- source4/torture/nbench/nbio.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/torture/nbench/nbio.c') diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index 9b6ec7943d..35147c6de9 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -618,6 +618,12 @@ void nb_flush(int fnum, NTSTATUS status) check_status("Flush", status, ret); } +void nb_sleep(int usec, NTSTATUS status) +{ + (void)status; + sys_usleep(usec); +} + void nb_deltree(const char *dname) { int total_deleted; -- cgit