nuttx-apps/benchmarks
chenrun1 a7020e45cc benchmarks/osperf: fix warning maybe-uninitialized
Summary:
In function 'performance_gettime',
    inlined from 'hpwork_performance' at osperf.c:245:10:
osperf.c:123:3: error: 'result.end' may be used uninitialized [-Werror=maybe-uninitialized]
  123 |   up_perf_convert(result->end - result->start, &ts);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osperf.c: In function 'hpwork_performance':
osperf.c:228:29: note: 'result.end' was declared here
  228 |   struct performance_time_s result;
      |                             ^~~~~~
CC:  audio/lib_buffer.c
CC:  common/arm64_initialize.c
CC:  builtin/lib_builtin_getname.c

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2025-03-05 20:00:52 +01:00
..
cachespeed benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
coremark benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
coremark-pro benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
cyclictest benchmarks/cyclictest/cyclictest.c: periodic output and -q option 2025-03-04 06:16:57 +08:00
dhrystone benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
fio benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
iozone benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
osperf benchmarks/osperf: fix warning maybe-uninitialized 2025-03-05 20:00:52 +01:00
ramspeed benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
rt-tests benchmarks: migrate license to ASF 2024-12-19 15:25:28 +08:00
sd_bench apps/testing: Move sd_bench to apps/bechmarks 2025-01-27 04:53:57 +01:00
spinlock_bench benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
superpi [nxstyle] fix Relative file path 2025-02-25 09:31:30 +01:00
tacle-bench benchmarks: migrate license to ASF 2024-12-19 15:25:28 +08:00
test-tlb benchmarks: migrate license to ASF 2024-12-19 15:25:28 +08:00
tinymembench benchmarks: migrate license to ASF 2024-12-19 15:25:28 +08:00
.gitignore apps: Add benchmark applications 2023-01-23 13:15:56 -03:00
CMakeLists.txt benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile benchmarks: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00