Skip to content

Commit 28c0181

Browse files
txy-21xiaoxiang781216
authored andcommitted
apps/testing:move atomic,cpuload,getprime,smp and timerjitter folders to the new sched folder
Signed-off-by: tengshuangshuang <[email protected]>
1 parent d3a1f80 commit 28c0181

29 files changed

+103
-30
lines changed

testing/cpuload/CMakeLists.txt renamed to system/cpuload/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/cpuload/CMakeLists.txt
2+
# apps/system/cpuload/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -20,7 +20,7 @@
2020
#
2121
# ##############################################################################
2222

23-
if(CONFIG_TESTING_CPULOAD)
23+
if(CONFIG_SYSTEM_CPULOAD)
2424
nuttx_add_application(
2525
NAME
2626
cpuload
@@ -29,7 +29,7 @@ if(CONFIG_TESTING_CPULOAD)
2929
STACKSIZE
3030
${CONFIG_DEFAULT_TASK_STACKSIZE}
3131
MODULE
32-
${CONFIG_TESTING_CPULOAD}
32+
${CONFIG_SYSTEM_CPULOAD}
3333
SRCS
3434
cpuload_main.c)
3535
endif()

testing/cpuload/Kconfig renamed to system/cpuload/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# see the file kconfig-language.txt in the NuttX tools repository.
44
#
55

6-
config TESTING_CPULOAD
6+
config SYSTEM_CPULOAD
77
tristate "cpuload test"
88
default n

testing/cpuload/Make.defs renamed to system/cpuload/Make.defs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/cpuload/Make.defs
2+
# apps/system/cpuload/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -20,6 +20,6 @@
2020
#
2121
############################################################################
2222

23-
ifneq ($(CONFIG_TESTING_CPULOAD),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/cpuload
23+
ifneq ($(CONFIG_SYSTEM_CPULOAD),)
24+
CONFIGURED_APPS += $(APPDIR)/testing/sched/cpuload
2525
endif

testing/cpuload/Makefile renamed to system/cpuload/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/cpuload/Makefile
2+
# apps/system/cpuload/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -25,7 +25,7 @@ include $(APPDIR)/Make.defs
2525
PROGNAME = cpuload
2626
PRIORITY = 253
2727
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
28-
MODULE = $(CONFIG_TESTING_CPULOAD)
28+
MODULE = $(CONFIG_SYSTEM_CPULOAD)
2929

3030
MAINSRC = cpuload_main.c
3131

testing/cpuload/cpuload_main.c renamed to system/cpuload/cpuload_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/cpuload/cpuload_main.c
2+
* apps/system/cpuload/cpuload_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/atomic/CMakeLists.txt renamed to testing/libc/atomic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/atomic/CMakeLists.txt
2+
# apps/testing/libc/atomic/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

testing/atomic/Make.defs renamed to testing/libc/atomic/Make.defs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/atomic/Make.defs
2+
# apps/testing/libc/atomic/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_ATOMIC),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/atomic
24+
CONFIGURED_APPS += $(APPDIR)/testing/sched/atomic
2525
endif

testing/atomic/Makefile renamed to testing/libc/atomic/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/atomic/Makefile
2+
# apps/testing/libc/atomic/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

testing/atomic/atomic_main.c renamed to testing/libc/atomic/atomic_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/atomic/atomic_main.c
2+
* apps/testing/libc/atomic/atomic_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

0 commit comments

Comments
 (0)