diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-11-13 16:47:04 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-11-13 20:21:38 +0000 |
commit | 19d0720f68c2617f1b9b686d3884333b60ca75da (patch) | |
tree | f97be3d98a0906b99891861bfb0d0f7acf7ddd4d /libcpp | |
parent | de10b4fc49516e393947c3d6c16de5703e5b2052 (diff) | |
download | gcc-19d0720f68c2617f1b9b686d3884333b60ca75da.zip gcc-19d0720f68c2617f1b9b686d3884333b60ca75da.tar.gz gcc-19d0720f68c2617f1b9b686d3884333b60ca75da.tar.bz2 |
libstdc++: Fix calculation of system time in performance tests
The system_time() function used the wrong element of the splits array.
Also add a comment about the units for time measurements.
libstdc++-v3/ChangeLog:
* testsuite/util/testsuite_performance.h (time_counter): Add
comment about times.
(time_counter::system_time): Use correct split value.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions