MCPcopy Create free account
hub / github.com/ceph/ceph / write

Method write

src/test/objectstore/ObjectStoreTransactionBenchmark.cc:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 static Tick encode_ticks, decode_ticks, iterate_ticks;
52
53 void write(coll_t cid, const ghobject_t& oid, uint64_t off, uint64_t len,
54 const bufferlist& data) {
55 uint64_t start_time = Cycles::rdtsc();
56 t.write(cid, oid, off, len, data);
57 write_ticks.add(Cycles::rdtsc() - start_time);
58 }
59 void setattr(coll_t cid, const ghobject_t& oid, const string &name,
60 bufferlist& val) {
61 uint64_t start_time = Cycles::rdtsc();

Callers 1

rados_write_4kMethod · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected