/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds1672.c | 29 unsigned long time; in ds1672_read_time() local 54 dev_warn(&client->dev, "Oscillator not enabled. Set time to enable.\n"); in ds1672_read_time() 71 time = ((unsigned long)buf[3] << 24) | (buf[2] << 16) | in ds1672_read_time() 74 rtc_time64_to_tm(time, tm); in ds1672_read_time()
|
H A D | rtc-ep93xx.c | 55 unsigned long time; in ep93xx_rtc_read_time() local 57 time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); in ep93xx_rtc_read_time() 59 rtc_time64_to_tm(time, tm); in ep93xx_rtc_read_time()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | da9052_wdt.c | 15 #include <linux/time.h> 35 int time; /* Seconds */ member 42 { 5, 33 }, /* Actual time 32.768s so included both 32s and 33s */ 44 { 6, 66 }, /* Actual time 65.536s so include both, 65s and 66s */ 58 * new time out. in da9052_wdt_set_timeout() 76 if (da9052_wdt_maps[i].time == timeout) in da9052_wdt_set_timeout() 116 * We have a minimum time for watchdog window called TWDMIN. A write in da9052_wdt_ping() 117 * to the watchdog before this elapsed time should cause an error. in da9052_wdt_ping()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds1672.c | 29 unsigned long time; in ds1672_read_time() local 54 dev_warn(&client->dev, "Oscillator not enabled. Set time to enable.\n"); in ds1672_read_time() 71 time = ((unsigned long)buf[3] << 24) | (buf[2] << 16) | in ds1672_read_time() 74 rtc_time64_to_tm(time, tm); in ds1672_read_time()
|
H A D | rtc-ep93xx.c | 55 unsigned long time; in ep93xx_rtc_read_time() local 57 time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); in ep93xx_rtc_read_time() 59 rtc_time64_to_tm(time, tm); in ep93xx_rtc_read_time()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | timex.h | 51 * Reworked time interpolation logic 56 #include <linux/time.h> 67 __kernel_long_t offset; /* time offset (usec) */ 72 __kernel_long_t constant;/* pll time constant */ 77 struct timeval time; /* (read only, except for ADJ_SETOFFSET) */ member 105 long long offset; /* time offset (usec) */ 111 long long constant;/* pll time constant */ 116 struct __kernel_timex_timeval time; /* (read only, except for ADJ_SETOFFSET) */ member 139 #define ADJ_OFFSET 0x0001 /* time offset */ 141 #define ADJ_MAXERROR 0x0004 /* maximum time erro [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | ovly827e.c | 72 s64 time = nvif_msec(device, 2000ULL, in ovly827e_ntfy_wait_begun() local 77 return time < 0 ? time : 0; in ovly827e_ntfy_wait_begun()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | threadtest.c | 22 #include <sys/time.h> 51 /* look for any time inconsistencies */ in checklist() 149 printf(" -t: time to run\n"); in main() 162 start = time(0); in main() 172 while (time(&now) < start + runtime) { in main()
|
/kernel/linux/linux-6.6/kernel/power/ |
H A D | suspend_test.c | 15 * time in the future, then suspending. Suspending the devices won't 18 * The time it takes is system-specific though, so when we test this 19 * during system bootup we allow a LOT of time. 54 "Component: %s, time: %u\n", label, msec); in suspend_test_finish() 65 KERN_ERR "PM: can't read %s time, err %d\n"; in test_wakealarm() 79 status = rtc_read_time(rtc, &alm.time); in test_wakealarm() 84 now = rtc_tm_to_time64(&alm.time); in test_wakealarm() 87 rtc_time64_to_tm(now + TEST_SUSPEND_SECONDS, &alm.time); in test_wakealarm() 142 * at startup time. They're normally disabled, for faster boot and because
|
/test/testfwk/arkxtest/jsunit/src/module/kit/ |
H A D | SysTestKit.js | 82 await SysTestKit.systemTime.getRealTime().then((time) => { 83 console.info(`${TAG}systemTime.getRealTime success data: ${JSON.stringify(time)}`); 84 currentTime = time;
|
/test/testfwk/developer_test/local_coverage/ |
H A D | utils.py | 23 import time namespace 34 create_time = "{}".format(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()))
|
/test/testfwk/developer_test/aw/python/distributed/common/ |
H A D | common.py | 20 import time namespace 89 time_stamp = time.strftime("%Y-%m-%d %H:%M:%S", 90 time.localtime()) 95 'time="0" name="%s" unavailable="1">\n' % (time_stamp, filename)) 98 'disabled="0" errors="0" time="0.0" '
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | __main__.py | 23 import time namespace 60 task_info.test_time = time.strftime(ReportConstant.time_format, time.localtime()) 86 attr_names = ["name", "time", "tests", "passed", "failed", "blocked",
|
/test/testfwk/arkxtest/jsunit/src/module/report/ |
H A D | ReportExtend.js | 39 time: '0.0', 76 time: '1', 91 time: '0.1',
|
/test/xts/device_attest/test/performancetest/src/ |
H A D | devattestservice_performance_test.cpp | 39 return MS_PER_SECOND * t.time + t.millitm; in GetSysTime() 42 void SetPhaseConsumeTime(AttestPhaseType type, long long time) in SetPhaseConsumeTime() argument 44 phaseConsumeTimeArray[static_cast<int>(type)] = time; in SetPhaseConsumeTime() 84 * @tc.desc: Calculating the time spent calling the service_stub external interface. 123 * @tc.desc: Calculating the time spent calling the service external interface. 146 * @tc.desc: Calculating the time spent calling the core external interface.
|
/test/xts/tools/lite/reliability/ |
H A D | NativePressTest.py | 36 time.sleep(3) 44 time.sleep(3) 124 time.sleep(1)
|
/third_party/glslang/ |
H A D | build_info.py | 24 import time namespace 139 # clock time with environment variable SOURCE_DATE_EPOCH 141 timestamp = int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
|
/third_party/backends/sanei/ |
H A D | sanei_auth.c | 52 #include <time.h> 71 srand(time(NULL)); \ 229 resource, getpid (), (long int) time (NULL), randombits ()); in sanei_authorize()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | Timer.java | 94 abstract public void time(int repeat); in time() method in Timer.Loop 99 // The current strategy is to warm up once, then time it until we reach the timingPeriod (eg 5 seconds), increasing the iterations each time in timeIterations() 106 loop.time(1); in timeIterations() 113 loop.time(iterations); in timeIterations()
|
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | Timer.java | 91 abstract public void time(int repeat); in time() method in Timer.Loop 96 // The current strategy is to warm up once, then time it until we reach the timingPeriod (eg 5 seconds), increasing the iterations each time in timeIterations() 103 loop.time(1); in timeIterations() 110 loop.time(iterations); in timeIterations()
|
/third_party/mbedtls/library/ |
H A D | platform_util.c | 73 * any time and will not optimize out the call that could potentially perform 150 #include <time.h> 221 #include <time.h> 241 return time(NULL) * 1000; in mbedtls_ms_time()
|
/third_party/node/test/async-hooks/ |
H A D | test-callback-error.js | 39 console.time('end case 1'); 50 console.time('end case 2'); 61 console.time('end case 3');
|
/third_party/nghttp2/tests/ |
H A D | end_to_end.py | 16 import time namespace 36 time.sleep(1) 41 time.sleep(1)
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress05.c | 83 extern time_t time(time_t *); 119 (void)time(&t); in main() 199 (void)time(&t); in main()
|
H A D | mmapstress02.c | 38 extern time_t time(time_t *); 97 (void)time(&t); in main() 170 (void)time(&t); in main()
|