Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / dmclock / sim / src / test_ssched.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 /*
5  * Copyright (C) 2016 Red Hat Inc.
6  */
7
8
9 #include "ssched_recs.h"
10 #include "ssched_server.h"
11 #include "ssched_client.h"
12
13 #include "sim_recs.h"
14 #include "sim_server.h"
15 #include "sim_client.h"
16
17 #include "test_ssched.h"
18
19
20 namespace test = crimson::test_simple_scheduler;
21 namespace ssched = crimson::simple_scheduler;
22
23
24 void test::simple_server_accumulate_f(test::SimpleAccum& a,
25                                       const ssched::NullData& add_info) {
26   ++a.request_count;
27 }
28
29
30 void test::simple_client_accumulate_f(test::SimpleAccum& a,
31                                       const ssched::NullData& ignore) {
32   // empty
33 }