Searched refs:log2 (Results 1 – 4 of 4) sorted by relevance
94 struct log_msg log2; in ZTEST() local105 log2.hdr.desc.type = Z_LOG_MSG_LOG; in ZTEST()106 log2.hdr.desc.package_len = 0; in ZTEST()107 log2.hdr.desc.data_len = 0; in ZTEST()109 log2.hdr.timestamp = timestamp_get(); in ZTEST()111 z_log_msg_enqueue(&mock_link1, &log2, sizeof(log2)); in ZTEST()121 struct log_msg log2; in ZTEST() local139 log2.hdr.desc.type = Z_LOG_MSG_LOG; in ZTEST()140 log2.hdr.timestamp = t; in ZTEST()141 log2.hdr.desc.package_len = 0; in ZTEST()[all …]
13 template <typename T> static inline constexpr uint8_t log2(T x) in log2() function36 zassert_equal(5, log2(42)); in ZTEST()38 zassert_equal(32, log2(42 + BIT64(32))); in ZTEST()
10 O(log2(N)) for a tree of size N. This is implemented using a
1039 * :github:`39190` - tests/subsys/logging/log_core_additional/logging.add.log2 fails