From e024a2c81ffb7d981799ce44a2ebf468983447e4 Mon Sep 17 00:00:00 2001 From: anwleung Date: Thu, 29 Mar 2007 05:10:20 +0000 Subject: [PATCH] sequential, non random trace usage git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1320 29311d96-e01e-0410-9327-a35deaab8ce9 --- branches/aleung/security1/ceph/client/SyntheticClient.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/branches/aleung/security1/ceph/client/SyntheticClient.cc b/branches/aleung/security1/ceph/client/SyntheticClient.cc index 2cfaa4b8f9533..fa44490cc52b2 100644 --- a/branches/aleung/security1/ceph/client/SyntheticClient.cc +++ b/branches/aleung/security1/ceph/client/SyntheticClient.cc @@ -412,12 +412,13 @@ int SyntheticClient::run() cout << "Setup trace:" << setupfile << endl; // choose random IOR2 file to open - int randf = rand() % 500; + //int randf = rand() % 500; // cant be trace 0, its broken - randf++; + //randf++; + int filenum = client->whoami + 1; ostringstream ost; - ost << "IOR2/IOR_trace_fileperproc.p" << randf << "t.cephtrace"; + ost << "IOR2/IOR_trace_fileperproc.p" << filenum << "t.cephtrace"; string tfile = ost.str(); cout << "My " << count << " trace file:" << tfile << endl; -- 2.39.5