Struct rocks::statistics::Statistics
[−]
[src]
pub struct Statistics { /* fields omitted */ }
Analyze the performance of a db
Methods
impl Statistics
[src]
fn new() -> Statistics
fn get_ticker_count(&self, ticker_type: Tickers) -> u64
fn histogram_data(&self, type_: Histograms) -> HistogramData
fn get_histogram_string(&self, type_: Histograms) -> String
fn record_tick(&mut self, ticker_type: Tickers, count: u64)
fn set_ticker_count(&mut self, ticker_type: Tickers, count: u64)
fn get_and_reset_ticker_count(&mut self, ticker_type: Tickers) -> u64
fn measure_time(&mut self, histogram_type: Histograms, time: u64)
fn hist_enabled_for_type(&self, type_: Histograms) -> bool
Trait Implementations
impl Drop for Statistics
[src]
impl Clone for Statistics
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more