| /subsys/logging/ |
| A D | log_output.c | 143 uint32_t flags, log_timestamp_t timestamp) in timestamp_print() argument 155 length = print_formatted(output, "[%08lu] ", timestamp); in timestamp_print() 169 timestamp /= timestamp_div; in timestamp_print() 170 total_seconds = timestamp / freq; in timestamp_print() 172 remainder = timestamp % freq; in timestamp_print() 576 log_timestamp_t timestamp, in prefix_print() argument 615 length += timestamp_print(output, flags, timestamp); in prefix_print() 641 log_timestamp_t timestamp, in log_output_process() argument 689 log_timestamp_t timestamp = log_msg_get_timestamp(msg); in log_output_msg_process() local 736 timestamp /= timestamp_div; in log_output_timestamp_to_us() [all …]
|
| A D | Kconfig.formatting | 42 bool "Disable MIPI Sys-T protocol timestamp" 44 Remove the timestamp from the MIPI Sys-T protocol. 170 Selected by log backends that supports timestamp formatting. 177 When enabled timestamp is formatted. 185 bool "Format timestamp in time format" 187 When enabled timestamp is formatted to hh:mm:ss.ms,us. 190 bool "Format timestamp in date format" 196 bool "Format timestamp in ISO 8601 format" 202 bool "Format timestamp in Linux format" 210 bool "Custom timestamp format support" [all …]
|
| A D | log_output_custom.c | 28 int log_custom_timestamp_print(const struct log_output *output, const log_timestamp_t timestamp, in log_custom_timestamp_print() argument 34 return log_timestamp_format_func(output, timestamp, printer); in log_custom_timestamp_print()
|
| A D | log_output_dict.c | 27 output_hdr.timestamp = msg->hdr.timestamp; in log_dict_output_msg_process()
|
| A D | Kconfig.processing | 151 bool "Use 24 bit timestamp for tracing" 154 When enabled, shorter timestamp is used and trace message is 158 bool "Use 64 bit timestamp" 161 bool "Use real time clock for timestamp"
|
| /subsys/net/lib/sntp/ |
| A D | Kconfig | 13 bool "Calculate SNTP uncertainty and set uptime timestamp" 15 Get a more reliable timestamp by supplying the sntp_time struct with an 16 uptime timestamp of when the time was valid and an uncertainty of the 18 seconds,fraction +/- uncertainty at uptime timestamp.
|
| /subsys/net/lib/ptp/ |
| A D | port.c | 183 (pkt->timestamp.second == 0 && pkt->timestamp.nanosecond == 0)) { in port_delay_req_timestamp_cb() 190 req->timestamp.host._sec.high = pkt->timestamp._sec.high; in port_delay_req_timestamp_cb() 191 req->timestamp.host._sec.low = pkt->timestamp._sec.low; in port_delay_req_timestamp_cb() 192 req->timestamp.host.nanosecond = pkt->timestamp.nanosecond; in port_delay_req_timestamp_cb() 412 timestamp = msg->timestamp.host.second * NSEC_PER_SEC + in foreign_clock_cleanup() 444 timestamp = msg->timestamp.host.second * NSEC_PER_SEC + in port_delay_req_cleanup() 489 last->timestamp.host, in port_sync_fup_ooo_handle() 490 msg->timestamp.protocol, in port_sync_fup_ooo_handle() 501 msg->timestamp.host, in port_sync_fup_ooo_handle() 578 msg->timestamp.host, in port_sync_msg_process() [all …]
|
| A D | clock.c | 55 } timestamp; /* latest timestamps in nanoseconds */ member 528 ptp_clk.timestamp.t1 = egress; in ptp_clock_synchronize() 529 ptp_clk.timestamp.t2 = ingress; in ptp_clock_synchronize() 535 offset = (int64_t)(ptp_clk.timestamp.t2 - ptp_clk.timestamp.t1) - delay; in ptp_clock_synchronize() 575 if (ptp_clk.timestamp.t1 == 0 || ptp_clk.timestamp.t2 == 0) { in ptp_clock_delay() 579 ptp_clk.timestamp.t3 = egress; in ptp_clock_delay() 580 ptp_clk.timestamp.t4 = ingress; in ptp_clock_delay() 582 delay = ((int64_t)(ptp_clk.timestamp.t2 - ptp_clk.timestamp.t3) + in ptp_clock_delay() 583 (int64_t)(ptp_clk.timestamp.t4 - ptp_clk.timestamp.t1)) / in ptp_clock_delay()
|
| A D | msg.c | 54 msg->timestamp.protocol._sec.high = ntohs(ts->seconds_high); in msg_timestamp_post_recv() 55 msg->timestamp.protocol._sec.low = ntohl(ts->seconds_low); in msg_timestamp_post_recv() 56 msg->timestamp.protocol.nanosecond = ntohl(ts->nanoseconds); in msg_timestamp_post_recv() 322 msg->timestamp.host.second = (uint64_t)(current / MSEC_PER_SEC); in ptp_msg_pre_send() 323 msg->timestamp.host.nanosecond = (current % MSEC_PER_SEC) * NSEC_PER_MSEC; in ptp_msg_pre_send() 415 msg->timestamp.host.second = (uint64_t)(current / MSEC_PER_SEC); in ptp_msg_post_recv() 416 msg->timestamp.host.nanosecond = (current % MSEC_PER_SEC) * NSEC_PER_MSEC; in ptp_msg_post_recv()
|
| /subsys/net/lib/ocpp/ |
| A D | ocpp_j.h | 55 char *timestamp; member 71 char *timestamp; member 80 char *timestamp; member
|
| A D | ocpp_j.c | 223 static int frame_meter_val_msg(char *buf, int len, struct ocpp_session *ses, char *timestamp, in frame_meter_val_msg() argument 234 .timestamp = timestamp, in frame_meter_val_msg() 260 timestamp, JSON_TOK_STRING), in frame_meter_val_msg() 295 int Wh, char *reason, char *timestamp) in frame_stop_txn_msg() argument 304 .timestamp = timestamp, in frame_stop_txn_msg() 315 timestamp, JSON_TOK_STRING), in frame_stop_txn_msg() 346 int Wh, int reserv_id, char *timestamp) in frame_start_txn_msg() argument 356 .timestamp = timestamp, in frame_start_txn_msg() 368 timestamp, JSON_TOK_STRING), in frame_start_txn_msg()
|
| /subsys/bluetooth/controller/ll_sw/nordic/lll/ |
| A D | lll_prof.c | 28 static inline void sample(uint32_t *timestamp); 30 static inline void delta(uint32_t timestamp, uint16_t *cputime); 310 static inline void sample(uint32_t *timestamp) in sample() argument 313 *timestamp = radio_tmr_sample_get(); in sample() 321 static inline void delta(uint32_t timestamp, uint16_t *cputime) in delta() argument 326 delta = radio_tmr_sample_get() - timestamp; in delta()
|
| A D | lll_sync_iso.c | 1760 iso_meta->timestamp = HAL_TICKER_TICKS_TO_US(radio_tmr_start_get()) + in isr_rx_iso_data_valid() 1770 iso_meta->timestamp -= (stream->bis_index - 1U) * in isr_rx_iso_data_valid() 1773 iso_meta->timestamp -= (stream->bis_index - 1U) * in isr_rx_iso_data_valid() 1777 iso_meta->timestamp %= in isr_rx_iso_data_valid() 1800 iso_meta->timestamp = HAL_TICKER_TICKS_TO_US(radio_tmr_start_get()) + in isr_rx_iso_data_invalid() 1806 iso_meta->timestamp -= (stream->bis_index - 1U) * in isr_rx_iso_data_invalid() 1809 iso_meta->timestamp -= (stream->bis_index - 1U) * in isr_rx_iso_data_invalid() 1813 iso_meta->timestamp -= latency * lll->iso_interval * in isr_rx_iso_data_invalid() 1816 iso_meta->timestamp %= in isr_rx_iso_data_invalid()
|
| /subsys/bluetooth/controller/ll_sw/ |
| A D | isoal.c | 841 sdu->timestamp = isoal_get_wrapped_time_us(sdu->timestamp, in isoal_rx_unframed_consume() 1075 uint32_t timestamp; in isoal_rx_framed_update_sdu_release() local 1084 SET_RX_SDU_TIMESTAMP(sink, sdu->timestamp, timestamp); in isoal_rx_framed_update_sdu_release() 1111 uint32_t timestamp; in isoal_rx_framed_consume() local 1148 timestamp = isoal_get_wrapped_time_us(meta->timestamp, in isoal_rx_framed_consume() 1153 SET_RX_SDU_TIMESTAMP(sink, sdu->timestamp, timestamp); in isoal_rx_framed_consume() 1185 timestamp); in isoal_rx_framed_consume() 1186 SET_RX_SDU_TIMESTAMP(sink, sdu->timestamp, timestamp); in isoal_rx_framed_consume() 1242 timestamp); in isoal_rx_framed_consume() 1243 SET_RX_SDU_TIMESTAMP(sink, sdu->timestamp, timestamp); in isoal_rx_framed_consume() [all …]
|
| /subsys/net/lib/lwm2m/ |
| A D | lwm2m_obj_location.c | 43 static time_t timestamp; variable 80 ×tamp, sizeof(timestamp)); in location_create()
|
| A D | lwm2m_engine.c | 366 static int64_t retransmit_request(struct lwm2m_ctx *client_ctx, const int64_t timestamp) in retransmit_request() argument 381 if (remaining < timestamp) { in retransmit_request() 470 int lwm2m_engine_call_at(k_work_handler_t service, int64_t timestamp) in lwm2m_engine_call_at() argument 472 return engine_add_srv(service, 0, timestamp); in lwm2m_engine_call_at() 501 static int64_t lwm2m_engine_service(const int64_t timestamp) in lwm2m_engine_service() argument 510 if (timestamp >= srv->next_timestamp) { in lwm2m_engine_service() 596 static int64_t check_notifications(struct lwm2m_ctx *ctx, const int64_t timestamp) in check_notifications() argument 612 if (timestamp < obs->event_timestamp) { in check_notifications() 627 engine_observe_shedule_next_event(obs, ctx->srv_obj_inst, timestamp); in check_notifications() 628 obs->last_timestamp = timestamp; in check_notifications()
|
| A D | lwm2m_observation.c | 631 int64_t timestamp; in lwm2m_notify_observer_path() local 672 timestamp = in lwm2m_notify_observer_path() 676 timestamp = k_uptime_get(); in lwm2m_notify_observer_path() 679 if (!obs->event_timestamp || obs->event_timestamp > timestamp) { in lwm2m_notify_observer_path() 681 obs->event_timestamp = timestamp; in lwm2m_notify_observer_path() 1244 int64_t timestamp; in lwm2m_engine_observer_timestamp_update() local 1266 timestamp = obs->last_timestamp + MSEC_PER_SEC * nattrs.pmax; in lwm2m_engine_observer_timestamp_update() 1269 timestamp = 0; in lwm2m_engine_observer_timestamp_update() 1271 obs->event_timestamp = timestamp; in lwm2m_engine_observer_timestamp_update() 1781 const int64_t timestamp) in engine_observe_shedule_next_event() argument [all …]
|
| A D | lwm2m_observation.h | 38 const int64_t timestamp);
|
| /subsys/mgmt/mcumgr/smp_client/src/ |
| A D | client.c | 33 int64_t timestamp; member 97 time_stamp_ref = entry->timestamp; in smp_client_transport_work_fn() 102 time_stamp_cmp = entry->timestamp - time_stamp_ref; in smp_client_transport_work_fn() 113 entry->timestamp = time_stamp_ref + CONFIG_SMP_CMD_RETRY_TIME; in smp_client_transport_work_fn() 320 cmd_req->timestamp = k_uptime_get() + CONFIG_SMP_CMD_RETRY_TIME; in smp_client_send_cmd()
|
| /subsys/logging/frontends/ |
| A D | log_frontend_stmesp.c | 32 #define STM_D8(reg, data, timestamp, marked) \ argument 33 stmesp_data8(reg, data, timestamp, marked, \ 36 #define STM_D16(reg, data, timestamp, marked) \ argument 37 stmesp_data16(reg, data, timestamp, marked, \ 40 #define STM_D32(reg, data, timestamp, marked) \ argument 41 stmesp_data32(reg, data, timestamp, marked, \
|
| A D | log_frontend_stmesp_demux.c | 286 .timestamp = ts ? *ts : 0, in store_turbo_log0() 303 .timestamp = ts ? *ts : 0, in store_turbo_log1() 319 .timestamp = ts ? *ts : 0, in store_tracepoint() 333 .timestamp = ts ? *ts : 0, in log_frontend_stmesp_demux_hw_event() 537 entry->packet->timestamp = *ts; in log_frontend_stmesp_demux_packet_start() 559 demux.curr->packet->timestamp = ts; in log_frontend_stmesp_demux_timestamp()
|
| A D | Kconfig | 99 bool "Generate timestamp and marker at message end" 101 Generate a zero data byte with timestamp and marker at message end, 102 instead of generating a timestamp and marker at message start and
|
| /subsys/bluetooth/mesh/ |
| A D | beacon.c | 57 uint64_t timestamp; member 177 uptime - priv_random.timestamp < (10 * interval * MSEC_PER_SEC) && in private_random_update() 178 priv_random.timestamp != 0) { in private_random_update() 192 priv_random.timestamp = uptime; in private_random_update() 763 priv_random.timestamp = 0; in bt_mesh_beacon_update()
|
| A D | pb_gatt_srv.c | 289 int64_t timestamp = fast_adv_timestamp; in bt_mesh_pb_gatt_srv_adv_start() local 290 int64_t elapsed_time = k_uptime_delta(×tamp); in bt_mesh_pb_gatt_srv_adv_start()
|
| A D | adv_ext.c | 68 uint32_t timestamp; member 189 ext_adv->timestamp = k_uptime_get_32(); in adv_start() 355 k_uptime_get_32() - ext_adv->timestamp, in send_pending_adv()
|