Home
last modified time | relevance | path

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

/tools/testing/selftests/powerpc/tm/
DMakefile2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
6 tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail tm-unavailable tm-trap \
7 $(SIGNAL_CONTEXT_CHK_TESTS) tm-sigreturn tm-signal-sigreturn-nt \
8 tm-signal-context-force-tm tm-poison tm-signal-pagefault
19 $(OUTPUT)/tm-syscall: tm-syscall-asm.S
20 $(OUTPUT)/tm-syscall: CFLAGS += $(KHDR_INCLUDES)
21 $(OUTPUT)/tm-tmspr: CFLAGS += -pthread
22 $(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
[all …]
D.gitignore2 tm-resched-dscr
3 tm-syscall
4 tm-signal-msr-resv
5 tm-signal-stack
6 tm-vmxcopy
7 tm-fork
8 tm-tar
9 tm-tmspr
10 tm-exec
11 tm-signal-context-chk-fpu
[all …]
/tools/testing/selftests/rtc/
Drtctest.c59 struct tm tm_time = { in rtc_time_to_timestamp()
197 struct rtc_time tm; in TEST_F() local
206 rc = ioctl(self->fd, RTC_RD_TIME, &tm); in TEST_F()
209 secs = timegm((struct tm *)&tm) + ALARM_DELTA; in TEST_F()
210 gmtime_r(&secs, (struct tm *)&tm); in TEST_F()
212 rc = ioctl(self->fd, RTC_ALM_SET, &tm); in TEST_F()
219 rc = ioctl(self->fd, RTC_ALM_READ, &tm); in TEST_F()
223 tm.tm_hour, tm.tm_min, tm.tm_sec); in TEST_F()
244 rc = ioctl(self->fd, RTC_RD_TIME, &tm); in TEST_F()
247 new = timegm((struct tm *)&tm); in TEST_F()
[all …]
/tools/testing/selftests/powerpc/ptrace/
D.gitignore3 ptrace-tm-gpr
4 ptrace-tm-spd-gpr
6 ptrace-tm-tar
7 ptrace-tm-spd-tar
9 ptrace-tm-vsx
10 ptrace-tm-spd-vsx
11 ptrace-tm-spr
DMakefile3 TM_TESTS := ptrace-tm-gpr
4 TM_TESTS += ptrace-tm-spd-gpr
5 TM_TESTS += ptrace-tm-spd-tar
6 TM_TESTS += ptrace-tm-spd-vsx
7 TM_TESTS += ptrace-tm-spr
8 TM_TESTS += ptrace-tm-tar
9 TM_TESTS += ptrace-tm-vsx
34 $(TM_TESTS): CFLAGS += -I../tm -mhtm
/tools/bpf/runqslower/
Drunqslower.c93 struct tm *tm; in handle_event() local
98 tm = localtime(&t); in handle_event()
99 strftime(ts, sizeof(ts), "%H:%M:%S", tm); in handle_event()
/tools/power/x86/intel-speed-select/
Disst-daemon.c40 time_t tm; in process_level_change() local
48 tm = time(NULL); in process_level_change()
49 if (tm - per_package_levels_tm[id->pkg][id->die][id->punit] < 2) in process_level_change()
52 per_package_levels_tm[id->pkg][id->die][id->punit] = tm; in process_level_change()
/tools/perf/jvmti/
Djvmti_agent.c134 struct tm tm; in create_jit_cache_dir() local
139 localtime_r(&t, &tm); in create_jit_cache_dir()
147 strftime(str, sizeof(str), JIT_LANG"-jit-%Y%m%d", &tm); in create_jit_cache_dir()
/tools/perf/util/
Dtime-utils.c547 struct tm tm; in fetch_current_timestamp() local
550 if (gettimeofday(&tv, NULL) || !localtime_r(&tv.tv_sec, &tm)) in fetch_current_timestamp()
553 if (!strftime(dt, sizeof(dt), "%Y%m%d%H%M%S", &tm)) in fetch_current_timestamp()
Dthread-stack.c889 u64 tm = sample->time; in thread_stack__pop_ks() local
895 tm, ref, true); in thread_stack__pop_ks()
916 u64 tm = sample->time; in thread_stack__no_call_return() local
929 return thread_stack__push_cp(ts, 0, tm, ref, cp, true, in thread_stack__no_call_return()
952 tm, ref, false); in thread_stack__no_call_return()
960 return thread_stack__push_cp(ts, addr, tm, ref, cp, in thread_stack__no_call_return()
970 err = thread_stack__push_cp(ts, 0, tm, ref, cp, true, false); in thread_stack__no_call_return()
984 err = thread_stack__push_cp(ts, addr, tm, ref, cp, true, false); in thread_stack__no_call_return()
990 err = thread_stack__push_cp(ts, ip, tm, ref, cp, true, false); in thread_stack__no_call_return()
994 return thread_stack__call_return(thread, ts, --ts->cnt, tm, ref, false); in thread_stack__no_call_return()
Dintel-pt.c298 static bool intel_pt_log_events(struct intel_pt *pt, u64 tm) in intel_pt_log_events() argument
310 if (!tm) in intel_pt_log_events()
311 tm = 1; in intel_pt_log_events()
313 return !n || !perf_time__ranges_skip_sample(range, n, tm); in intel_pt_log_events()
2525 u64 tm = ptq->timestamp; in intel_ptq_synth_error() local
2531 tm = pt->timeless_decoding ? 0 : tsc_to_perf_time(tm, &pt->tc); in intel_ptq_synth_error()
2541 state->from_ip, tm, machine_pid, vcpu); in intel_ptq_synth_error()
3996 u64 tsc, tm; in intel_pt_tsc_start() local
4001 tm = tsc_to_perf_time(tsc, &pt->tc); in intel_pt_tsc_start()
4002 if (tm < ns) in intel_pt_tsc_start()
[all …]
Ddebug.c57 struct tm ltime; in fprintf_time()
Dheader.c1774 struct tm ltime; in print_clock_data()
/tools/testing/selftests/powerpc/nx-gzip/include/
Dnx_dbg.h35 time_t t; struct tm *m; time(&t); m = localtime(&t); \
/tools/testing/selftests/powerpc/
DMakefile30 tm \
/tools/perf/
Dbuiltin-record.c1026 int m, tm, nr_mmaps = evlist->core.nr_mmaps; in record__thread_data_init_maps() local
1052 for (m = 0, tm = 0; m < nr_mmaps && tm < thread_data->nr_mmaps; m++) { in record__thread_data_init_maps()
1056 thread_data->maps[tm] = &mmap[m]; in record__thread_data_init_maps()
1058 thread_data, perf_cpu_map__cpu(cpus, m).cpu, tm, m); in record__thread_data_init_maps()
1061 thread_data->overwrite_maps[tm] = &overwrite_mmap[m]; in record__thread_data_init_maps()
1063 thread_data, perf_cpu_map__cpu(cpus, m).cpu, tm, m); in record__thread_data_init_maps()
1065 tm++; in record__thread_data_init_maps()
1074 int f, tm, pos; in record__thread_data_init_pollfd() local
1079 for (tm = 0; tm < thread_data->nr_mmaps; tm++) { in record__thread_data_init_pollfd()
1080 map = thread_data->maps ? thread_data->maps[tm] : NULL; in record__thread_data_init_pollfd()
[all …]
Dbuiltin-stat.c256 static int write_stat_round_event(u64 tm, u64 type) in write_stat_round_event() argument
258 return perf_event__synthesize_stat_round(NULL, tm, type, in write_stat_round_event()
2559 struct timespec tm; in cmd_stat() local
2568 clock_gettime(CLOCK_REALTIME, &tm); in cmd_stat()
2569 fprintf(output, "# started on %s\n", ctime(&tm.tv_sec)); in cmd_stat()
Dbuiltin-kvm.c1099 struct tm ltime; in show_timeofday()
Dbuiltin-script.c718 struct tm ltime; in tod_scnprintf()
/tools/perf/tests/shell/
Dtest_intel_pt.sh68 struct timespec tm = {
75 nanosleep(&tm, NULL);
/tools/tracing/rtla/src/
Dutils.c78 struct tm *tm_info; in get_duration()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c1602 unsigned long long tm = e->time; in python_process_auxtrace_error() local
1611 tm = 0; in python_process_auxtrace_error()
1623 tuple_set_u64(t, 6, tm); in python_process_auxtrace_error()
/tools/arch/x86/kcpuid/
Dcpuid.csv79 1, 0, EDX, 29, tm, Thermal Monitor
/tools/bpf/bpftool/
Dprog.c163 struct tm load_tm; in print_boot_time()
/tools/power/pm-graph/
Dsleepgraph.py1823 type, tm, idx1, idx2 = e
1824 tm = self.trimTimeVal(tm, t0, dT, left)
1825 list.append((type, tm, idx1, idx2))