Commit Graph

8 Commits

Author SHA1 Message Date
Xiang Xiao
f2fcbe7ccf testing: Swith up_perf_xxx to perf_xxx
follow up the the kernel change:
https://github.com/apache/nuttx/pull/10834

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: TaiJu Wu <tjwu1217@gmail.com>
2023-10-23 11:52:07 -03:00
chenrun1
10baddee07 system/cachespeed:Modifying kconfig depends on
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-07-20 01:42:38 +08:00
chenrun1
d0349a3bd4 system/cachespeed:Optimize the number of tests
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-07-20 01:42:38 +08:00
chenrun1
f3b1ac089b system/cachespeed:Redesign of the overall test tool.
Compared to the previous version, the following factors have been taken into account in the new version of cachespeed:
1. the user needs to care about getting a piece of available memory (even if this piece of memory may memory stomp during use)
2. High repetition of test code, poor readability, and overall high test coupling
3. Not taking into account the alignment cache line situation
4. When comparing values between different test tools, there is a little error because of the different ways to get the values (different fine reading)
Therefore, in the new version according to the above problems have been improved:
1. Provide a "test_skeleton", which contains the overall testing process
2. The user only needs to execute, not to care about how to get the available memory address, and the memory allocated by the program also ensures the memory security and data accuracy
3. The system to obtain the data required for the test reduces the difficulty of use and the possibility of inaccurate results due to data errors.
4. Provide two kinds of precision data results, which can be configured through Kconfig
5. Optimize the output log, now more intuitive and concise, to help the subsequent data organization and observation
6. New test items for aligned/unaligned cache line
7. Better readability and extensibility, making it easier to add/remove test items

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-07-20 01:42:38 +08:00
simbit18
ef908dd83b apps/system/cachespeed/Make.defs: Fix mistakes in comments
Fix mistakes in comments
2023-03-07 21:45:12 +02:00
crafcat7
30efeb7424 system/cachespeed:Optimize output format and processing logic 2022-12-29 03:56:45 +08:00
crafcat7
2ad6dc37d8 system/cachespeed:Average time to add 2022-10-15 03:15:30 +08:00
crafcat
0e0ac0656b system/cachespeed:Tools for testing cache-related speed.
Signed-off-by: crafcat <110923103+crafcat7@users.noreply.github.com>
2022-10-01 11:41:40 +08:00