]>
git.proxmox.com Git - ceph.git/blob - ceph/src/dmclock/sim/src/ssched/ssched_client.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
5 * Copyright (C) 2016 Red Hat Inc.
11 #include "ssched_recs.h"
15 namespace simple_scheduler
{
17 // S is server identifier type
19 class ServiceTracker
{
23 // we have to start the counters at 1, as 0 is used in the
31 void track_resp(const S
& server_id
, const NullData
& ignore
) {
37 * Returns the ReqParams for the given server.
39 ReqParams
get_req_params(const S
& server
) {
42 }; // class ServiceTracker
43 } // namespace simple_scheduler
44 } // namespace crimson