nuttx-apps/benchmarks
chenrun1 8c0100b193 dhrystone:Ignore warnings. Warnings have no impact on the program itself.
The function implementation does not specify a return type, and is treated as a void return value function during use, so it is ignored.
CC:  icmpv6_ping.c dhrystone/v2.1/dhry_2.c:30:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
   30 | Proc_6 (Enum_Val_Par, Enum_Ref_Par)
      | ^~~~~~

2. The implementation of some functions is opposite to the calling position, and the processing can be ignored
dhrystone/v2.1/dhry_2.c:39:9: warning: implicit declaration of function ‘Func_3’ [-Wimplicit-function-declaration]
   39 |   if (! Func_3 (Enum_Val_Par))

3. This function is called from dhry_2.c and void behavior is expected.
dhrystone/v2.1/dhry_2.c:30:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   30 | Proc_6 (Enum_Val_Par, Enum_Ref_Par)

4. In the old version of C language, if the function declaration return value is not set, the default is void; in the new version, it is int, but in dhrystone, these functions are called as void type functions by default.
dhrystone/v2.2/dry.c:738:1: warning: control reaches end of non-void function [-Wreturn-type]
  738 | }
      | ^
dhrystone/v2.2/dry.c: In function ‘Proc_1’:
dhrystone/v2.2/dry.c:772:1: warning: control reaches end of non-void function [-Wreturn-type]
  772 | } /* Proc_1 */
      | ^
dhrystone/v2.2/dry.c: In function ‘Proc_2’:
dhrystone/v2.2/dry.c:795:1: warning: control reaches end of non-void function [-Wreturn-type]
  795 | } /* Proc_2 */
      | ^
dhrystone/v2.2/dry.c: In function ‘Proc_3’:
dhrystone/v2.2/dry.c:810:1: warning: control reaches end of non-void function [-Wreturn-type]
  810 | } /* Proc_3 */
      | ^
dhrystone/v2.2/dry.c: In function ‘Proc_4’:
dhrystone/v2.2/dry.c:822:1: warning: control reaches end of non-void function [-Wreturn-type]
  822 | } /* Proc_4 */
      | ^
dhrystone/v2.2/dry.c: In function ‘Proc_5’:
dhrystone/v2.2/dry.c:831:1: warning: control reaches end of non-void function [-Wreturn-type]
  831 | } /* Proc_5 */
      | ^

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-08-07 13:57:15 +08:00
..
cachespeed benchmarks/cachespeed/CMakeLists.txt: fix the names of the config entry 2024-05-10 20:59:08 +08:00
coremark benchmarks: Change options from bool to tristate 2024-04-17 22:47:22 +08:00
coremark-pro coremark-pro:Ignore the implementation warning 2024-08-06 19:30:39 -03:00
dhrystone dhrystone:Ignore warnings. Warnings have no impact on the program itself. 2024-08-07 13:57:15 +08:00
fio fio:Added fio download link and corresponding fix patch 2024-04-08 14:11:31 +08:00
iozone fix nxstyle 2024-04-30 00:02:31 +08:00
osperf apps:Move the performance tools to benchmark. 2024-04-08 14:11:31 +08:00
ramspeed benchmarks/ramspeed: Don't expose interrupt control with kernel 2024-05-21 09:05:57 +08:00
spinlock_bench cmake: fix spinlock_bench compilation 2024-02-05 08:46:22 -08:00
superpi benchmark: update gitignore for superpi and dhrystone 2024-06-12 23:24:29 +08:00
.gitignore apps: Add benchmark applications 2023-01-23 13:15:56 -03:00
CMakeLists.txt cmake: port nxscope and foc and add missing directories 2023-07-14 22:04:35 +08:00
Make.defs apps: Add benchmark applications 2023-01-23 13:15:56 -03:00
Makefile apps: Add benchmark applications 2023-01-23 13:15:56 -03:00