mirror of
https://github.com/ceph/ceph
synced 2024-12-13 23:17:07 +00:00
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:
parent
65a4f4b124
commit
e024a2c81f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user