Lines Matching refs:timespan
71 * @param timespan Desired timespan for rate calculations.
74 CPreciseRateCounter(uint32_t timespan, bool count_average = false)
75 : m_timespan(timespan), m_total(0), m_rate(0.0), m_max_rate(0.0), m_tmp_sum(0), m_count_average(count_average)
79 uint64_t target_time = cur_time - timespan;
113 * Sets desired timespan for rate calculations.
115 * If new timespan is greater than the old was, then the change
117 * to take effect is new minus old value of the timespan.
119 * If the new timespan is lower than the old, the change takes
122 void SetTimespan(uint32_t timespan) { wxMutexLocker lock(m_mutex); m_timespan = timespan; }
156 CStatTreeItemRateCounter(const wxString& label, bool show_maxrate, uint32_t timespan, bool count_average = false)
157 : CStatTreeItemBase(label, stNone), CPreciseRateCounter(timespan, count_average), m_show_maxrate(show_maxrate)