Home
last modified time | relevance | path

Searched refs:time_t (Results 1 – 23 of 23) sorted by relevance

/tools/laptop/dslm/
Ddslm.c58 static char *myctime(time_t time) in myctime()
68 time_t start_time; in measure()
70 time_t last_time; in measure()
72 time_t curr_time = 0; in measure()
73 time_t time_diff; in measure()
74 time_t active_time = 0; in measure()
75 time_t sleep_time = 0; in measure()
76 time_t unknown_time = 0; in measure()
77 time_t total_time = 0; in measure()
/tools/include/uapi/asm-generic/
Dsocket.h133 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N…
134 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA…
135 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES…
137 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
138 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
/tools/testing/selftests/timers/
Dset-2038.c53 now.tv_sec = (time_t)time; in settime()
78 time_t start; in main()
Dleapcrash.c62 time_t next_leap; in main()
Dfreq-step.c37 static time_t mono_raw_base;
38 static time_t mono_base;
Dleap-a-day.c56 time_t next_leap;
240 time_t now; in main()
Dinconsistency-check.c99 time_t t; in consistency_test()
Dthreadtest.c123 time_t start, now, runtime; in main()
/tools/testing/selftests/pidfd/
Dpidfd_test.c408 time_t prog_start = time(NULL); in test_pidfd_poll_exec()
430 time_t prog_time = time(NULL) - prog_start; in test_pidfd_poll_exec()
451 static time_t *child_exit_secs;
472 time_t prog_start = time(NULL); in test_pidfd_poll_leader_exit()
508 time_t since_child_exit = time(NULL) - *child_exit_secs; in test_pidfd_poll_leader_exit()
/tools/testing/selftests/rtc/
Drtctest.c117 time_t secs, new; in TEST_F()
171 time_t secs, new; in TEST_F()
219 time_t secs, new;
273 time_t secs, new;
/tools/testing/selftests/vDSO/
Dvdso_standalone_test_x86.c66 void to_base10(char *lastdig, time_t n) in to_base10()
/tools/testing/selftests/x86/
Dtest_vsyscall.c62 typedef long (*time_func_t)(time_t *t);
169 static inline long sys_time(time_t *t) in sys_time()
522 time_t tmp; in test_emulation()
/tools/testing/radix-tree/
Didr-test.c286 time_t start = time(NULL); in idr_throbber()
302 time_t start = time(NULL); in idr_find_test_1()
471 time_t s = time(NULL); in ida_check_random()
533 time_t s = time(NULL); in ida_leak_fn()
/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c49 time_t now; in err_msg()
617 time_t now; in main()
/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c29 time_t now, load_time; in test_bpf_obj_id()
/tools/perf/jvmti/
Djvmti_agent.c135 time_t t; in create_jit_cache_dir()
/tools/include/nolibc/
Dnolibc.h146 typedef signed long time_t; typedef
266 time_t st_atime; /* time of last access */
267 time_t st_mtime; /* time of last modification */
268 time_t st_ctime; /* time of last status change */
/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c290 time_t secs; in unit_test()
/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c61 time_t core_time;
/tools/testing/selftests/vm/
Duserfaultfd.c296 time_t start; in locking_thread()
/tools/bpf/bpftool/
Dprog.c52 time_t wallclock_secs; in print_boot_time()
/tools/testing/selftests/net/
Dnettest.c106 time_t now; in timestamp()
/tools/perf/util/
Dheader.c2915 time_t stctime; in perf_header__fprintf_info()