Skip to content

frequency_analysis: Fix calculating avg_freq

Darryl Green requested to merge github/fork/bjackman/freq-analysis-rect into master

Created by: bjackman

By default, area_under_curve uses method='trapz' which implicitly does a linear interpolation of the data. This is not desirable for cpu_frequency, which changes ~instantly and stays constant until the next data point.

Merge request reports