]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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. | |
11fdf7f2 TL |
6 | * |
7 | * Author: J. Eric Ivancich <ivancich@redhat.com> | |
8 | * | |
9 | * This is free software; you can redistribute it and/or modify it | |
10 | * under the terms of the GNU Lesser General Public License version | |
11 | * 2.1, as published by the Free Software Foundation. See file | |
12 | * COPYING. | |
7c673cae FG |
13 | */ |
14 | ||
15 | ||
16 | #include "ssched_recs.h" | |
17 | #include "ssched_server.h" | |
18 | #include "ssched_client.h" | |
19 | ||
20 | #include "sim_recs.h" | |
21 | #include "sim_server.h" | |
22 | #include "sim_client.h" | |
23 | ||
24 | #include "test_ssched.h" | |
25 | ||
26 | ||
27 | namespace test = crimson::test_simple_scheduler; | |
28 | namespace ssched = crimson::simple_scheduler; | |
29 | ||
30 | ||
31 | void test::simple_server_accumulate_f(test::SimpleAccum& a, | |
32 | const ssched::NullData& add_info) { | |
33 | ++a.request_count; | |
34 | } | |
35 | ||
36 | ||
37 | void test::simple_client_accumulate_f(test::SimpleAccum& a, | |
38 | const ssched::NullData& ignore) { | |
39 | // empty | |
40 | } |