Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 31, 2008, 11:44:41 AM (15 years ago)
Author:
scheusso
Message:

Fixed that problems with statistical info of tick time/fps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/gamestates/GSRoot.h

    r2549 r2558  
    6767
    6868        inline void addTickTime(uint32_t length)
    69             { assert(!this->statisticsTickTimes_.empty()); this->statisticsTickTimes_.back().tickLength += length; }
     69            { assert(!this->statisticsTickTimes_.empty()); this->statisticsTickTimes_.back().tickLength += length;
     70              this->periodTickTime_+=length; }
    7071
    7172    private:
     
    8788
    8889        // variables for time statistics
    89         uint32_t              frameCount_;
    9090        uint64_t              statisticsStartTime_;
    9191        std::list<statisticsTickInfo>
Note: See TracChangeset for help on using the changeset viewer.