| /tools/laptop/dslm/ |
| A D | dslm.c | 58 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/ |
| A D | socket.h | 161 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 162 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 163 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 165 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 166 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
| /tools/testing/vsock/ |
| A D | vsock_perf.c | 45 static time_t current_nsec(void) in current_nsec() 130 static float get_gbps(unsigned long bits, time_t ns_delta) in get_gbps() 139 time_t rx_begin_ns; in run_receiver() 140 time_t in_read_ns; in run_receiver() 220 time_t t; in run_receiver() 266 time_t tx_begin_ns; in run_sender() 267 time_t tx_total_ns; in run_sender() 269 time_t time_in_send; in run_sender() 313 time_t before; in run_sender()
|
| /tools/testing/selftests/timers/ |
| A D | set-2038.c | 52 now.tv_sec = (time_t)time; in settime() 77 time_t start; in main()
|
| A D | leapcrash.c | 62 time_t next_leap; in main()
|
| A D | freq-step.c | 37 static time_t mono_raw_base; 38 static time_t mono_base;
|
| A D | leap-a-day.c | 56 time_t next_leap; 240 time_t now; in main()
|
| /tools/testing/selftests/timens/ |
| A D | timens.c | 33 time_t offset; 88 static int test_gettime(clockid_t clock_index, bool raw_syscall, time_t offset) in test_gettime() 151 time_t offset; in main()
|
| A D | timens.h | 64 static inline int _settime(clockid_t clk_id, time_t offset) in _settime()
|
| A D | gettime_perf.c | 67 time_t offset = 10; in main()
|
| /tools/include/nolibc/ |
| A D | types.h | 183 union { time_t st_atime; struct timespec st_atim; }; /* time of last access */ 184 union { time_t st_mtime; struct timespec st_mtim; }; /* time of last modification */ 185 union { time_t st_ctime; struct timespec st_ctim; }; /* time of last status change */
|
| A D | std.h | 32 typedef __kernel_old_time_t time_t; typedef
|
| A D | time.h | 140 double difftime(time_t time1, time_t time2) in difftime() 153 time_t time(time_t *tptr) in time()
|
| /tools/testing/selftests/rtc/ |
| A D | rtctest.c | 64 static time_t rtc_time_to_timestamp(struct rtc_time *rtc_time) in rtc_time_to_timestamp() 118 time_t start_rtc_read, prev_rtc_read; 133 time_t rtc_read; 227 time_t secs, new; in TEST_F() 297 time_t secs, new; in TEST_F() 361 time_t secs, new; 429 time_t secs, new;
|
| /tools/testing/selftests/vDSO/ |
| A D | vdso_test_abi.c | 32 typedef time_t (*vdso_time_t)(time_t *t);
|
| /tools/testing/selftests/kvm/x86/ |
| A D | recalc_apic_map_test.c | 41 time_t t; in main()
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_test.c | 499 time_t prog_start = time(NULL); in test_pidfd_poll_exec() 521 time_t prog_time = time(NULL) - prog_start; in test_pidfd_poll_exec() 542 static time_t *child_exit_secs; 600 time_t since_child_exit = time(NULL) - *child_exit_secs; in test_pidfd_poll_leader_exit()
|
| /tools/testing/selftests/alsa/ |
| A D | global-timer.c | 27 time_t end; in bind_to_timer()
|
| /tools/testing/selftests/powerpc/nx-gzip/include/ |
| A D | nx_dbg.h | 35 time_t t; struct tm *m; time(&t); m = localtime(&t); \
|
| /tools/power/x86/intel-speed-select/ |
| A D | isst-daemon.c | 24 static time_t per_package_levels_tm[MAX_PACKAGE_COUNT][MAX_DIE_PER_PACKAGE][MAX_PUNIT_PER_DIE]; 40 time_t tm; in process_level_change()
|
| /tools/tracing/rtla/src/ |
| A D | utils.h | 24 void get_duration(time_t start_time, char *output, int output_size);
|
| A D | osnoise.h | 150 time_t start_time;
|
| /tools/testing/selftests/x86/ |
| A D | test_vsyscall.c | 59 typedef long (*time_func_t)(time_t *t); 100 static inline long sys_time(time_t *t) in sys_time() 477 time_t tmp; in test_emulation()
|
| /tools/testing/selftests/net/netfilter/ |
| A D | conntrack_reverse_clash.c | 65 time_t end, now; in main()
|
| /tools/testing/radix-tree/ |
| A D | idr-test.c | 286 time_t start = time(NULL); in idr_throbber() 306 time_t start = time(NULL); in idr_find_test_1() 481 time_t s = time(NULL); in ida_check_random() 543 time_t s = time(NULL); in ida_leak_fn()
|