Home
last modified time | relevance | path

Searched refs:adjtime (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.6.0/components/newlib/test/
Dtest_time.c94 TEST_ASSERT_EQUAL(adjtime(NULL, NULL), 0);
102 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0);
107 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), -1);
110 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), -1);
114 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), 0);
117 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0);
122 TEST_ASSERT_EQUAL(adjtime(&tv_delta, NULL), 0);
123 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0);
130 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), 0);
133 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0);
[all …]
/hal_espressif-3.6.0/examples/protocols/sntp/
DREADME.md64 - `update time with smooth method (adjtime)` - time synchronization will use the adjtime function t…
79adjtime function. If the difference between SNTP response time and system time is large (more than…
82 `int adjtime(const struct timeval *delta, struct timeval *outdelta)`
84 `adjtime()` is a libc function that is called automatically in "smooth" time update mode, but can a…
85 If the time error is less than 35 minutes then `adjtime` function will start smooth adjusting other…
87 …t the clock. If adjusting the system clock by `adjtime()` is already done during the second call `
91 If the olddelta argument is not a null pointer, the adjtime function returns information about any …
/hal_espressif-3.6.0/components/lwip/apps/sntp/
Dsntp.c47 if (adjtime(&tv_delta, NULL) == -1) { in sntp_sync_time()
86 adjtime(NULL, &outdelta); in sntp_get_sync_status()
/hal_espressif-3.6.0/examples/protocols/sntp/main/
DKconfig.projbuild12 bool "update time with smooth method (adjtime)"
Dsntp_example_main.c105 adjtime(NULL, &outdelta); in app_main()
/hal_espressif-3.6.0/docs/en/api-reference/system/
Dsystem_time.rst63 adjtime*
97 To set the current time, you can use the POSIX functions ``settimeofday()`` and ``adjtime()``. They…
102 …dates time smoothly by gradually reducing time error using the funcion ``adjtime()``. If the diffe…
/hal_espressif-3.6.0/components/esp_system/
DREADME.md22 …ng function in standard library. Can be set (`settimeofday`) or moved forward/backward (`adjtime`);
/hal_espressif-3.6.0/components/newlib/
Dtime.c121 int adjtime(const struct timeval *delta, struct timeval *outdelta) in adjtime() function
/hal_espressif-3.6.0/tools/test_idf_size/
Dapp_esp32s2.map1479 .literal.adjtime
1508 .text.adjtime 0x0000000000000000 0xea esp-idf/newlib/libnewlib.a(time.c.obj)
14153 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Dapp2.map1518 .literal.adjtime
1547 .text.adjtime 0x0000000000000000 0xea esp-idf/newlib/libnewlib.a(time.c.obj)
15974 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Dapp_esp32s3.map2223 .literal.adjtime
2238 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj)
18374 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Dapp_esp32c3.map1583 .text.adjtime 0x0000000000000000 0x152 esp-idf/newlib/libnewlib.a(time.c.obj)
14676 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Dapp_esp32h2.map1524 .text.adjtime 0x0000000000000000 0x152 esp-idf/newlib/libnewlib.a(time.c.obj)
13022 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Dapp.map1663 .literal.adjtime
1692 ….text.adjtime 0x0000000000000000 0xe8 /home/user/esp/esp-idf/tools/unit-test-app/build/newl…
Doverflow.map2766 .literal.adjtime
2779 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj)
65740 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Doverflow_esp32s2.map2868 .literal.adjtime
2881 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj)
66871 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Doverflow_esp32s3.map3179 .literal.adjtime
3194 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj)
79764 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
Doverflow_esp32c3.map2557 .text.adjtime 0x0000000000000000 0x152 esp-idf/newlib/libnewlib.a(time.c.obj)
58030 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)