mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
0df8b7374383a3976cf9809a514064e1a41e9a71
This patch enables more data series to be plotted on a CP plot. We can now show curves for heartrate, cadence, speed and torque as well as the original power and energy. The CP code is refactored into the plotting functions and a new RideFileCache that precomputes the mean-max as well as distribution data (for a later patch to show histograms across date ranges). The code for computing mean-max values has been re-written and significantly optimised by; * computing 1s intervals up to 5mins only * computing 20s intervals for the remainder of the ride * downsampling data to 5s samples for longer durations * using a binary file format (cpx) for faster read/aggregation * using multiple threads Testing on an old Athlon dual-core showed an increase in performance over the old cpi code of approximately x20, but since new data series are now computed it is only x4 faster. Quad/Octo core systems will show a greater performance increase though. Fixes #312. Fixes #285.
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.2%
C++
28.2%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%