Skip to content

Commit

Permalink
test/perf_local: fix EventCenter::init argument change
Browse files Browse the repository at this point in the history
Signed-off-by: Haomai Wang <[email protected]>
  • Loading branch information
yuyuyu101 committed Jan 26, 2017
1 parent 24967ca commit 8edf8c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/perf_local.cc
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ double eventcenter_poll()
{
int count = 1000000;
EventCenter center(g_ceph_context);
center.init(1000, 0);
center.init(1000, 0, "posix");
center.set_owner();
uint64_t start = Cycles::rdtsc();
for (int i = 0; i < count; i++) {
Expand All @@ -467,7 +467,7 @@ class CenterWorker : public Thread {
public:
EventCenter center;
explicit CenterWorker(CephContext *c): cct(c), done(false), center(c) {
center.init(100, 0);
center.init(100, 0, "posix");
}
void stop() {
done = true;
Expand Down

0 comments on commit 8edf8c2

Please sign in to comment.