Changeset 537 for trunk/lib/Stats.h


Ignore:
Timestamp:
Dec 27, 2007, 7:37:39 AM (14 years ago)
Author:
Peter Johansson
Message:

Blame stats is implemented - fixes #24

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.h

    r532 r537  
    143143    typedef Author2Vector::const_iterator A2VConstIter;
    144144
     145    void accumulate_stats(void);
    145146    void add_author(std::string);
    146147    void add_authors(std::set<std::string>::const_iterator,
     
    169170  private:
    170171    void accumulate(std::vector<u_int>& vec) const;
    171     void accumulate_stats(void);
    172172    virtual void do_parse(const std::string&)=0;
    173173   
     
    175175    // that all old cache files are obsolete.
    176176    inline std::string end_of_cache(void) const
    177     {return "END OF OK CACHE FILE VERSION 300";}
     177    {return "END OF OK CACHE FILE VERSION 4";}
    178178    inline std::string code_cache(void) const {return "CACHE CODE";}
    179179    inline std::string comments_cache(void) const {return "CACHE COMMENTS";}
     
    183183   
    184184
     185    void calc_all(void);
     186    void calc_total(void);
    185187    u_int get_back(const Author2Vector&, std::string user) const;
    186188    void load(std::istream& is, Author2Vector& m);
Note: See TracChangeset for help on using the changeset viewer.