| 
    rippled
    
   | 
 
Tracks the accepted -> validated evolution of ledgers. More...
#include <collectors.h>

Classes | |
| struct | Tracker | 
Public Types | |
| using | Hist = Histogram< SimTime::duration > | 
Public Member Functions | |
| template<class E > | |
| void | on (PeerID, SimTime, E const &e) | 
| void | on (PeerID who, SimTime when, AcceptLedger const &e) | 
| void | on (PeerID who, SimTime when, FullyValidateLedger const &e) | 
| std::size_t | unvalidated () const | 
| template<class T > | |
| void | report (SimDuration simDuration, T &log, bool printBreakline=false) | 
| template<class T , class Tag > | |
| void | csv (SimDuration simDuration, T &log, Tag const &tag, bool printHeaders=false) | 
Public Attributes | |
| std::size_t | accepted {0} | 
| std::size_t | fullyValidated {0} | 
| hash_map< Ledger::ID, Tracker > | ledgers_ | 
| Hist | acceptToFullyValid | 
| Hist | acceptToAccept | 
| Hist | fullyValidToFullyValid | 
Tracks the accepted -> validated evolution of ledgers.
This collector tracks ledgers through the network by monitoring the first* time the ledger is accepted or fully validated by ANY node.
Definition at line 409 of file collectors.h.
| using ripple::test::csf::LedgerCollector::Hist = Histogram<SimTime::duration> | 
Definition at line 426 of file collectors.h.
Definition at line 434 of file collectors.h.
| void ripple::test::csf::LedgerCollector::on | ( | PeerID | who, | 
| SimTime | when, | ||
| AcceptLedger const & | e | ||
| ) | 
Definition at line 439 of file collectors.h.
| void ripple::test::csf::LedgerCollector::on | ( | PeerID | who, | 
| SimTime | when, | ||
| FullyValidateLedger const & | e | ||
| ) | 
Definition at line 458 of file collectors.h.
| std::size_t ripple::test::csf::LedgerCollector::unvalidated | ( | ) | const | 
Definition at line 488 of file collectors.h.
| void ripple::test::csf::LedgerCollector::report | ( | SimDuration | simDuration, | 
| T & | log, | ||
| bool | printBreakline = false  | 
        ||
| ) | 
Definition at line 498 of file collectors.h.
| void ripple::test::csf::LedgerCollector::csv | ( | SimDuration | simDuration, | 
| T & | log, | ||
| Tag const & | tag, | ||
| bool | printHeaders = false  | 
        ||
| ) | 
Definition at line 560 of file collectors.h.
| std::size_t ripple::test::csf::LedgerCollector::accepted {0} | 
Definition at line 411 of file collectors.h.
| std::size_t ripple::test::csf::LedgerCollector::fullyValidated {0} | 
Definition at line 412 of file collectors.h.
| hash_map<Ledger::ID, Tracker> ripple::test::csf::LedgerCollector::ledgers_ | 
Definition at line 424 of file collectors.h.
| Hist ripple::test::csf::LedgerCollector::acceptToFullyValid | 
Definition at line 427 of file collectors.h.
| Hist ripple::test::csf::LedgerCollector::acceptToAccept | 
Definition at line 428 of file collectors.h.
| Hist ripple::test::csf::LedgerCollector::fullyValidToFullyValid | 
Definition at line 429 of file collectors.h.