summaryrefslogtreecommitdiffstats
path: root/src/common/io_exerciser/Model.cc
blob: 50812ecbb155d6ce282a1600bdf35614b2d2b372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// -*- 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;
}