Home
last modified time | relevance | path

Searched refs:exp_ts (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/subsys/logging/log_frontend_stmesp_demux/src/
Dmain.c37 static void claim_packet(uint16_t exp_m_idx, uint64_t exp_ts, uint16_t exp_len, uint8_t exp_id, in claim_packet() argument
48 zassert_equal(exp_ts, packet.log->timestamp, "%d: Unexpected ts %llu/%x (exp:%llu/%x)", in claim_packet()
49 line, packet.log->timestamp, packet.log->timestamp, exp_ts, exp_ts); in claim_packet()
66 static void claim_trace_point(uint16_t exp_m_idx, uint16_t exp_id, uint64_t exp_ts, in claim_trace_point() argument
72 zassert_equal(exp_ts, packet.trace_point->timestamp, in claim_trace_point()
74 packet.trace_point->timestamp, packet.trace_point->timestamp, exp_ts, exp_ts); in claim_trace_point()
95 static void claim_hw_event(uint8_t exp_evt, uint64_t exp_ts, int line) in claim_hw_event() argument
100 zassert_equal(exp_ts, packet.hw_event->timestamp, "%d: Unexpected ts %llu/%x (exp:%llu/%x)", in claim_hw_event()
101 line, packet.hw_event->timestamp, packet.hw_event->timestamp, exp_ts, exp_ts); in claim_hw_event()
/Zephyr-latest/tests/subsys/logging/log_api/src/
Dmain.c239 log_timestamp_t exp_ts = TIMESTAMP_INIT_VAL; in ZTEST() local
260 mock_log_backend_record(&backend1, s_id, d_id, LOG_LEVEL_DBG, exp_ts, str); in ZTEST()
261 mock_log_backend_record(&backend2, s_id, d_id, LOG_LEVEL_DBG, exp_ts, str); in ZTEST()
263 exp_ts++; in ZTEST()
268 mock_log_backend_record(&backend1, s_id, d_id, LOG_LEVEL_INF, exp_ts, "test"); in ZTEST()
269 mock_log_backend_record(&backend2, s_id, d_id, LOG_LEVEL_INF, exp_ts, "test"); in ZTEST()
271 exp_ts++; in ZTEST()
317 mock_log_backend_record(&backend1, s_id, d_id, LOG_LEVEL_INF, exp_ts++, "test"); in ZTEST()
320 exp_ts++, "hexdump", data, sizeof(data)); in ZTEST()
326 mock_log_backend_record(&backend1, s_id, d_id, LOG_LEVEL_WRN, exp_ts, "test2"); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/debug/mipi_stp_decoder/src/
Dmain.c13 static uint64_t exp_ts[10]; variable
22 if (exp_ts[d_cnt] == UINT64_MAX) { in cb()
26 zassert_equal(exp_ts[d_cnt], *ts, "exp:%llx got:%llx", exp_ts[d_cnt], *ts); in cb()
43 exp_ts[_cnt] = (uint64_t)_ts; \