zephyr/tests
Piotr Zięcik 5f6cae38db tests: benchmarks: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time
as the exact configuration of the hardware is not known at compile time.
On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define
directly introduces timing errors.

This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call
to inline function sys_clock_hw_cycles_per_sec() which always returns
correct frequency of the system clock.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-24 15:10:02 +02:00
..
application_development cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
arch tests: arch: arm_thread_swap: add README file 2019-07-14 04:53:14 -07:00
benchmarks tests: benchmarks: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
bluetooth tests: Bluetooth: Add test case for settings in the controller. 2019-07-23 10:58:03 +02:00
boards tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
booting/stub license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cmsis_rtos_v1 tests/cmsis_rtos_v1: Correct timing assumptions 2019-07-02 22:52:29 -04:00
cmsis_rtos_v2 CMSIS v2: Work around time unit confusion 2019-07-02 22:52:29 -04:00
crypto kernel: lib: Add convert functions for hex strings and binary arrays 2019-07-16 12:44:18 +02:00
drivers drivers/flash/flash_simulator: fix flash size calculation 2019-07-17 13:49:26 -07:00
kernel tests: work_queue_api: Fix k_delayed_work_remaining_get() test 2019-07-23 13:54:39 +02:00
lib tests: fdtable: add tests 2019-07-22 16:36:15 -07:00
misc cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
net tests: net: txtime: Add tests for SO_TXTIME and SCM_TXTIME 2019-07-24 10:17:16 +03:00
posix tests/posix/common: Adjust miscalibrated timing test 2019-07-02 22:52:29 -04:00
shell shell: add test for new built-in command 2019-05-24 11:04:42 +02:00
subsys Revert "sys/util.h: helper macro to perform pointer difference" 2019-07-17 03:44:03 -04:00
unit tests: crc: convert to regular test case 2019-07-06 00:31:04 +02:00
ztest subsys/testsuite/ztest: change zassert_mem_equal to macro 2019-06-03 09:39:37 -04:00