Home
last modified time | relevance | path

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

12

/tools/testing/selftests/powerpc/tm/
A 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
20 $(OUTPUT)/tm-syscall: tm-syscall-asm.S
22 $(OUTPUT)/tm-tmspr: CFLAGS += -pthread
24 $(OUTPUT)/tm-resched-dscr: ../pmu/lib.c
27 $(OUTPUT)/tm-signal-context-force-tm: CFLAGS += -pthread -m64
[all …]
A D.gitignore2 tm-resched-dscr
3 tm-syscall
5 tm-signal-stack
6 tm-vmxcopy
7 tm-fork
8 tm-tar
9 tm-tmspr
10 tm-exec
15 tm-signal-context-force-tm
20 tm-trap
[all …]
/tools/testing/selftests/powerpc/ptrace/
A 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
A 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
35 $(TM_TESTS): CFLAGS += -I../tm -mhtm
/tools/testing/selftests/rtc/
A Drtctest.c66 struct tm tm_time = { in rtc_time_to_timestamp()
244 secs = timegm((struct tm *)&tm) + ALARM_DELTA; in TEST_F()
245 gmtime_r(&secs, (struct tm *)&tm); in TEST_F()
263 tm.tm_hour, tm.tm_min, tm.tm_sec); in TEST_F()
287 new = timegm((struct tm *)&tm); in TEST_F()
352 new = timegm((struct tm *)&tm); in TEST_F()
376 secs = timegm((struct tm *)&tm) + 60 - tm.tm_sec;
377 gmtime_r(&secs, (struct tm *)&tm);
395 tm.tm_hour, tm.tm_min, tm.tm_sec);
419 new = timegm((struct tm *)&tm);
[all …]
/tools/bpf/runqslower/
A 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/
A 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/
A 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/
A 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()
A 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()
A Dintel-pt.c312 if (!tm) in intel_pt_log_events()
313 tm = 1; in intel_pt_log_events()
2731 u64 tm = ptq->timestamp; in intel_ptq_synth_error() local
2737 tm = pt->timeless_decoding ? 0 : tsc_to_perf_time(tm, &pt->tc); in intel_ptq_synth_error()
4225 u64 tsc, tm; in intel_pt_tsc_start() local
4230 tm = tsc_to_perf_time(tsc, &pt->tc); in intel_pt_tsc_start()
4231 if (tm < ns) in intel_pt_tsc_start()
4236 while (tm < ns) in intel_pt_tsc_start()
4245 u64 tsc, tm; in intel_pt_tsc_end() local
4251 if (tm > ns) in intel_pt_tsc_end()
[all …]
A Ddebug.c76 struct tm ltime; in fprintf_time()
A Dheader.c1753 struct tm ltime; in print_clock_data()
/tools/testing/selftests/powerpc/nx-gzip/include/
A Dnx_dbg.h35 time_t t; struct tm *m; time(&t); m = localtime(&t); \
/tools/testing/selftests/powerpc/
A DMakefile24 tm \
/tools/perf/
A Dbuiltin-record.c1098 int m, tm, nr_mmaps = evlist->core.nr_mmaps; in record__thread_data_init_maps() local
1124 for (m = 0, tm = 0; m < nr_mmaps && tm < thread_data->nr_mmaps; m++) { in record__thread_data_init_maps()
1128 thread_data->maps[tm] = &mmap[m]; in record__thread_data_init_maps()
1130 thread_data, perf_cpu_map__cpu(cpus, m).cpu, tm, m); in record__thread_data_init_maps()
1133 thread_data->overwrite_maps[tm] = &overwrite_mmap[m]; in record__thread_data_init_maps()
1135 thread_data, perf_cpu_map__cpu(cpus, m).cpu, tm, m); in record__thread_data_init_maps()
1137 tm++; in record__thread_data_init_maps()
1146 int f, tm, pos; in record__thread_data_init_pollfd() local
1151 for (tm = 0; tm < thread_data->nr_mmaps; tm++) { in record__thread_data_init_pollfd()
1152 map = thread_data->maps ? thread_data->maps[tm] : NULL; in record__thread_data_init_pollfd()
[all …]
A Dbuiltin-stat.c248 static int write_stat_round_event(u64 tm, u64 type) in write_stat_round_event() argument
250 return perf_event__synthesize_stat_round(NULL, tm, type, in write_stat_round_event()
2596 struct timespec tm; in cmd_stat() local
2605 clock_gettime(CLOCK_REALTIME, &tm); in cmd_stat()
2606 fprintf(output, "# started on %s\n", ctime(&tm.tv_sec)); in cmd_stat()
A Dbuiltin-kvm.c1038 struct tm ltime; in show_timeofday()
A Dbuiltin-script.c754 struct tm ltime; in tod_scnprintf()
/tools/perf/tests/shell/
A Dtest_intel_pt.sh69 struct timespec tm = {
76 nanosleep(&tm, NULL);
/tools/tracing/rtla/src/
A Dutils.c81 struct tm *tm_info; in get_duration()
/tools/perf/util/scripting-engines/
A Dtrace-event-python.c1607 unsigned long long tm = e->time; in python_process_auxtrace_error() local
1616 tm = 0; in python_process_auxtrace_error()
1628 tuple_set_u64(t, 6, tm); in python_process_auxtrace_error()
/tools/accounting/
A Ddelaytop.c679 struct tm *tm_now = localtime(&now); in display_results()
/tools/bpf/bpftool/
A Dprog.c163 struct tm load_tm; in print_boot_time()
/tools/power/pm-graph/
A Dsleepgraph.py1846 type, tm, idx1, idx2 = e
1847 tm = self.trimTimeVal(tm, t0, dT, left)
1848 list.append((type, tm, idx1, idx2))

Completed in 81 milliseconds

12