summaryrefslogtreecommitdiffstats
path: root/src/common/io_exerciser/Model.cc
blob: 6548e1eda7a80e59521c1a70e6aadeb1b80aa90e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
#include "Model.h"

using Model = ceph::io_exerciser::Model;

Model::Model(const std::string& oid, uint64_t block_size)
    : num_io(0), oid(oid), block_size(block_size) {}

const uint64_t Model::get_block_size() const { return block_size; }

const std::string Model::get_oid() const { return oid; }

int Model::get_num_io() const { return num_io; }