sequential, non random trace usage

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1320 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
anwleung 2007-03-29 05:10:20 +00:00
parent 65a4f4b124
commit e024a2c81f

View File

@ -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;