Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 193) sorted by relevance

12345678

/AliOS-Things-master/components/SDL2/include/
A DSDL_events.h176 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
185 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
200 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
216 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
258 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
274 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
291 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
305 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
321 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
337 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ member
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Dus_ticker_api.c42 if ((int)(head->timestamp - us_ticker_read()) <= 0) { in us_ticker_irq_handler()
53 us_ticker_set_interrupt(head->timestamp); in us_ticker_irq_handler()
59 void us_ticker_insert_event(ticker_event_t *obj, timestamp_t timestamp, uint32_t id) in us_ticker_insert_event() argument
65 obj->timestamp = timestamp; in us_ticker_insert_event()
73 if ((int)(timestamp - p->timestamp) <= 0) { in us_ticker_insert_event()
83 us_ticker_set_interrupt(timestamp); in us_ticker_insert_event()
104 us_ticker_set_interrupt(head->timestamp); in us_ticker_remove_event()
A Dus_ticker.c99 void us_ticker_set_interrupt(timestamp_t timestamp) in us_ticker_set_interrupt() argument
106 if ((uint32_t)timestamp >= cur_time_us) { in us_ticker_set_interrupt()
107 duration_us = (uint32_t)timestamp - cur_time_us; in us_ticker_set_interrupt()
110 duration_us = 0xffffffff - cur_time_us + (uint32_t)timestamp; in us_ticker_set_interrupt()
/AliOS-Things-master/components/sensor/include/sensor/
A Dsensor.h245 uint64_t timestamp; member
253 uint64_t timestamp; member
258 uint64_t timestamp; member
263 uint64_t timestamp; member
268 uint64_t timestamp; member
273 uint64_t timestamp; member
278 uint64_t timestamp; member
283 uint64_t timestamp; member
288 uint64_t timestamp; member
293 uint64_t timestamp; member
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal/
A Dus_ticker_api.h33 timestamp_t timestamp; member
39 void us_ticker_set_interrupt(timestamp_t timestamp);
44 void us_ticker_insert_event(ticker_event_t *obj, timestamp_t timestamp, uint32_t id);
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_events.c134 plusstr, (uint) event->user.timestamp, (uint) event->user.windowID, in SDL_LogEvent()
189 (uint) event->key.timestamp, (uint) event->key.windowID, \ in SDL_LogEvent()
201 (uint) event->edit.timestamp, (uint) event->edit.windowID, in SDL_LogEvent()
231 (uint) event->wheel.timestamp, (uint) event->wheel.windowID, in SDL_LogEvent()
238 (uint) event->jaxis.timestamp, (int) event->jaxis.which, in SDL_LogEvent()
244 (uint) event->jball.timestamp, (int) event->jball.which, in SDL_LogEvent()
250 (uint) event->jhat.timestamp, (int) event->jhat.which, in SDL_LogEvent()
256 (uint) event->jbutton.timestamp, (int) event->jbutton.which, \ in SDL_LogEvent()
269 (uint) event->caxis.timestamp, (int) event->caxis.which, in SDL_LogEvent()
275 (uint) event->cbutton.timestamp, (int) event->cbutton.which, \ in SDL_LogEvent()
[all …]
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_log.h19 uint64_t timestamp; member
24 void core_log_set_timestamp(aiot_sysdep_portfile_t *sysdep, uint64_t timestamp);
32 void _core_log_append_date(aiot_sysdep_portfile_t *sysdep, uint64_t timestamp, char *buffer);
A Dcore_log.c5 static core_log_t g_core_log = { .time_start = 0, .time_interval = 0, .timestamp = 0, .log_stamp = …
26 if (g_core_log.timestamp != 0 && g_core_log.timestamp > timenow) in _core_log_get_timestamp()
35 timenow = g_core_log.timestamp + g_core_log.time_interval; in _core_log_get_timestamp()
41 void _core_log_append_date(aiot_sysdep_portfile_t *sysdep, uint64_t timestamp, char *buffer) in _core_log_append_date() argument
52 core_utc2date(timestamp, 8, &date); in _core_log_append_date()
157 void core_log_set_timestamp(aiot_sysdep_portfile_t *sysdep, uint64_t timestamp) in core_log_set_timestamp() argument
159 g_core_log.timestamp = timestamp; in core_log_set_timestamp()
A Dcore_diag.c3 static void _core_diag_default_callback(void *diag_handle, uint64_t timestamp, int32_t code, uint8_…
8 static void _core_diag_default_callback(void *diag_handle, uint64_t timestamp, int32_t code, uint8_… in _core_diag_default_callback() argument
A Dcore_diag.h11 typedef void (*core_diag_callback)(void * diag_handle, uint64_t timestamp, int32_t code, uint8_t *d…
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/
A Dmodule_aiot_ntp.c30 uint64_t timestamp; member
46 JS_SetPropertyStr(ctx, obj, "timestamp", JS_NewInt64(ctx, param->timestamp)); in aiot_device_ntp_notify()
74 packet->data.local_time.timestamp in aiot_app_ntp_recv_handler()
77 g_ntp_time = packet->data.local_time.timestamp; in aiot_app_ntp_recv_handler()
89 ntp_params->timestamp = packet->data.local_time.timestamp; in aiot_app_ntp_recv_handler()
/AliOS-Things-master/components/mbedtls/library/
A Dssl_cache.c82 (int) ( t - entry->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_get()
162 (int) ( t - cur->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_set()
164 cur->timestamp = t; in mbedtls_ssl_cache_set()
173 if( oldest == 0 || cur->timestamp < oldest ) in mbedtls_ssl_cache_set()
175 oldest = cur->timestamp; in mbedtls_ssl_cache_set()
238 cur->timestamp = t; in mbedtls_ssl_cache_set()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dprepacked_cache.cc90 itr->second.timestamp = timestamp_++; in Get()
114 Timestamp oldest_timestamp = oldest->second.timestamp; in EjectOne()
117 if (itr->second.timestamp < oldest_timestamp) { in EjectOne()
119 oldest_timestamp = itr->second.timestamp; in EjectOne()
/AliOS-Things-master/components/SDL2/src/joystick/emscripten/
A DSDL_sysjoystick.c79 item->timestamp = gamepadEvent->timestamp; in Emscripten_JoyStickConnected()
350 if(gamepadState.timestamp == 0 || gamepadState.timestamp != item->timestamp) { in EMSCRIPTEN_JoystickUpdate()
373 item->timestamp = gamepadState.timestamp; in EMSCRIPTEN_JoystickUpdate()
A DSDL_sysjoystick_c.h40 double timestamp; member
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_ntp.c29 uint64_t timestamp; member
53 mp_obj_new_int(param->timestamp)); in aiot_device_ntp_notify()
80 packet->data.local_time.timestamp in aiot_app_ntp_recv_handler()
95 ntp_params->timestamp = packet->data.local_time.timestamp; in aiot_app_ntp_recv_handler()
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_log.c68 static char *SDLTest_TimestampToString(const time_t timestamp) in SDLTest_TimestampToString() argument
75 copy = timestamp; in SDLTest_TimestampToString()
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A Daccuracy_utils.cc41 float timestamp; in ReadGroundTruthFile() local
42 if (!tensorflow::strings::safe_strtof(pieces[1].c_str(), &timestamp)) { in ReadGroundTruthFile()
47 auto timestamp_int64 = static_cast<int64>(timestamp); in ReadGroundTruthFile()
A Daccuracy_utils.py59 timestamp = round(float(line_split[1]))
61 self._gt_occurrence.append([label, timestamp])
/AliOS-Things-master/components/linksdk/components/subdev/
A Daiot_subdev_api.c298 …text_src[] = { dev->product_key, dev->device_name, dev->device_name, dev->product_key, timestamp }; in _subdev_calculate_sign()
359 cJSON_AddStringToObject(param, "timestamp", timestamp); in _subdev_topo_add_append_params()
364 res = _subdev_calculate_sign(subdev_handle, dev, timestamp, sign_str); in _subdev_topo_add_append_params()
423 cJSON_AddStringToObject(param, "timestamp", timestamp); in _subdev_batch_login_append_device_list()
428 res = _subdev_calculate_sign(subdev_handle, dev, timestamp, sign_str); in _subdev_batch_login_append_device_list()
580 char timestamp[21] = {0}; in aiot_subdev_send_topo_add() local
611 core_uint642str(subdev_handle->sysdep->core_sysdep_time(), timestamp, NULL); in aiot_subdev_send_topo_add()
628 _subdev_topo_add_append_params(subdev_handle, params, &dev[idx], timestamp); in aiot_subdev_send_topo_add()
724 char timestamp[21] = {0}; in aiot_subdev_send_batch_login() local
755 core_uint642str(subdev_handle->sysdep->core_sysdep_time(), timestamp, NULL); in aiot_subdev_send_batch_login()
[all …]
/AliOS-Things-master/components/linksdk/components/diag/
A Daiot_diag_api.c113 node->timestamp = core_log_get_timestamp(diag_handle->sysdep); in _diag_desc_list_append()
159 core_uint642str(node->timestamp, utc_time_str, NULL); in _diag_desc_list_send()
425 …ing_state_start(diag_handle_t *diag_handle, diag_stat_t *stat, uint64_t timestamp, void *extra_dat… in _diag_running_state_start() argument
445 node->start_time = timestamp; in _diag_running_state_start()
454 …ning_state_stop(diag_handle_t *diag_handle, diag_stat_t *stat, uint64_t timestamp, void *extra_dat… in _diag_running_state_stop() argument
464 node->stop_time = timestamp; in _diag_running_state_stop()
504 …nning_state_start(diag_handle, &diag_handle->diag_stat[stat_idx], raw_data->timestamp, extra_data); in _diag_raw_data()
506 …unning_state_stop(diag_handle, &diag_handle->diag_stat[stat_idx], raw_data->timestamp, extra_data); in _diag_raw_data()
512 static void _diag_core_diag_callback(void *handle, uint64_t timestamp, int32_t code, uint8_t *data,… in _diag_core_diag_callback() argument
517 raw_data.timestamp = timestamp; in _diag_core_diag_callback()
A Ddiag_private.h27 uint64_t timestamp; member
34 uint64_t timestamp; member
/AliOS-Things-master/components/linksdk/components/logpost/
A Daiot_logpost_api.c130 msg.timestamp = 0; /* 单位为ms的时间戳, 填写0则SDK将使用当前的时间戳 */ in _logpost_send_nwkstats_rtt()
183 msg.timestamp = 0; /* 单位为ms的时间戳, 填写0则SDK将使用当前的时间戳 */ in _logpost_send_nwkstats_conn()
362 if (msg->timestamp > 100000000000000) { in aiot_logpost_send()
401 if (msg->timestamp == 0) { in aiot_logpost_send()
404 _core_log_append_date(logpost_handle->sysdep, msg->timestamp, utc); in aiot_logpost_send()
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_windows_gaming_input.c41 UINT64 timestamp; member
614 UINT64 timestamp; in WGI_JoystickUpdate() local
616 …ler_GetCurrentReading(hwdata->controller, nbuttons, buttons, nhats, hats, naxes, axes, &timestamp); in WGI_JoystickUpdate()
617 if (SUCCEEDED(hr) && timestamp != hwdata->timestamp) { in WGI_JoystickUpdate()
629 hwdata->timestamp = timestamp; in WGI_JoystickUpdate()
/AliOS-Things-master/components/sensor/drv/
A Ddrv_canbus_inv_mpu9250.c54 accel->timestamp = aos_now_ms(); in drv_canbus_acc_inv_mpu9250_read()
118 gyro->timestamp = aos_now_ms(); in drv_canbus_gyro_inv_mpu9250_read()

Completed in 38 milliseconds

12345678