fn hitrate()

in src/admin.rs [391:399]


    fn hitrate(&self, other: &Self, total: &'static str, hit: &'static str) -> f64 {
        let total = self.rate(other, total);
        let hit = self.rate(other, hit);
        if total > 0.0 {
            100.0 * hit / total
        } else {
            0.0
        }
    }