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

Method dump_basic

src/mon/PGMap.cc:1611–1627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1609}
1610
1611void PGMap::dump_basic(ceph::Formatter *f) const
1612{
1613 f->dump_unsigned("version", version);
1614 f->dump_stream("stamp") << stamp;
1615 f->dump_unsigned("last_osdmap_epoch", last_osdmap_epoch);
1616 f->dump_unsigned("last_pg_scan", last_pg_scan);
1617
1618 f->open_object_section("pg_stats_sum");
1619 pg_sum.dump(f);
1620 f->close_section();
1621
1622 f->open_object_section("osd_stats_sum");
1623 osd_sum.dump(f);
1624 f->close_section();
1625
1626 dump_delta(f);
1627}
1628
1629void PGMap::dump_delta(ceph::Formatter *f) const
1630{

Callers 1

process_pg_map_commandFunction · 0.80

Calls 5

dump_unsignedMethod · 0.45
dump_streamMethod · 0.45
open_object_sectionMethod · 0.45
dumpMethod · 0.45
close_sectionMethod · 0.45

Tested by

no test coverage detected