Home
last modified time | relevance | path

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

123456

/external/libnl/lib/route/qdisc/
Dhfsc.c65 struct tc_service_curve tsc; in hfsc_class_msg_parser() local
67 nla_memcpy(&tsc, tb[TCA_HFSC_RSC], sizeof(tsc)); in hfsc_class_msg_parser()
68 hfsc->ch_rsc = tsc; in hfsc_class_msg_parser()
73 struct tc_service_curve tsc; in hfsc_class_msg_parser() local
75 nla_memcpy(&tsc, tb[TCA_HFSC_FSC], sizeof(tsc)); in hfsc_class_msg_parser()
76 hfsc->ch_fsc = tsc; in hfsc_class_msg_parser()
81 struct tc_service_curve tsc; in hfsc_class_msg_parser() local
83 nla_memcpy(&tsc, tb[TCA_HFSC_USC], sizeof(tsc)); in hfsc_class_msg_parser()
84 hfsc->ch_usc = tsc; in hfsc_class_msg_parser()
106 static void hfsc_dump_tsc(struct nl_dump_params *p, struct tc_service_curve *tsc) in hfsc_dump_tsc() argument
[all …]
/external/llvm-project/llvm/test/tools/llvm-xray/X86/
Dconvert-fdr-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …pe: 0, func-id: 1, function: '1', cpu: 5, thread: 5, kind: function-enter, tsc: 7238225556407340, …
12 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 5, thread: 5, kind: function-exit, tsc
13 …pe: 0, func-id: 2, function: '2', cpu: 5, thread: 5, kind: function-enter, tsc: 7238225556407347, …
14 …pe: 0, func-id: 3, function: '3', cpu: 5, thread: 5, kind: function-enter, tsc: 7238225556407387, …
15 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 5, thread: 5, kind: function-exit, tsc
16 ; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 5, thread: 5, kind: function-exit, tsc
17 …pe: 0, func-id: 4, function: '4', cpu: 5, thread: 5, kind: function-enter, tsc: 7238225556407492, …
18 …pe: 0, func-id: 5, function: '5', cpu: 5, thread: 5, kind: function-enter, tsc: 7238225556407517, …
[all …]
Dconvert-basic-log-version3-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …unction: '1', cpu: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070767347414784, …
12 …function: '1', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070767347496472, …
13 …unction: '2', cpu: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070768324320264, …
14 …function: '2', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070768324344100, …
15 …unction: '1', cpu: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070768921602152, …
16 …function: '1', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070768921625968, …
17 …unction: '2', cpu: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070769627174140, …
18 …function: '2', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070769627197624, …
Dconvert-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841453914, …
12 …, func-id: 2, function: '2', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454542, …
13 …0, func-id: 2, function: '2', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454670, …
14 …, func-id: 1, function: '1', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454762, …
15 …0, func-id: 1, function: '1', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454802, …
16 …0, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841494828, …
Dconvert-fdr-log-version3-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …unction: '1', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069294857657498, …
12 …function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069294857707502, …
13 …unction: '2', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069295590705912, …
14 …function: '2', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069295590734308, …
15 …unction: '1', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069296377598128, …
16 …function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069296377627032, …
Dconvert-with-yaml-instrmap.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841453914, …
12 …, func-id: 2, function: '2', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454542, …
13 …0, func-id: 2, function: '2', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454670, …
14 …, func-id: 1, function: '1', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454762, …
15 …0, func-id: 1, function: '1', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454802, …
16 …0, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841494828, …
Dconvert-fdr-log-arg1-version3-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 … function: '3', cpu: 6, thread: 2631, process: 2631, kind: function-enter, tsc: 2034042117104344, …
12 …, function: '3', cpu: 6, thread: 2631, process: 2631, kind: function-exit, tsc: 2034042117199088, …
13 … function: '2', cpu: 6, thread: 2631, process: 2631, kind: function-enter, tsc: 2034043145686378, …
14 …, function: '2', cpu: 6, thread: 2631, process: 2631, kind: function-exit, tsc: 2034043145762200, …
15 …gs: [ 67 ], cpu: 6, thread: 2631, process: 2631, kind: function-enter-arg, tsc: 2034049739853430, …
16 …, function: '1', cpu: 6, thread: 2631, process: 2631, kind: function-exit, tsc: 2034049739878154, …
Dconvert-basic-log-arg1-version3-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 … function: '3', cpu: 0, thread: 2590, process: 2590, kind: function-enter, tsc: 2033303630902004, …
12 …, function: '3', cpu: 0, thread: 2590, process: 2590, kind: function-exit, tsc: 2033403115246844, …
13 … function: '2', cpu: 0, thread: 2590, process: 2590, kind: function-enter, tsc: 2033490200702516, …
14 …, function: '2', cpu: 0, thread: 2590, process: 2590, kind: function-exit, tsc: 2033504122687120, …
15 …gs: [ 67 ], cpu: 0, thread: 2590, process: 2590, kind: function-enter-arg, tsc: 2033505343905936, …
16 …, function: '1', cpu: 0, thread: 2590, process: 2590, kind: function-exit, tsc: 2033505343936752, …
Dconvert-with-standalone-instrmap.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …d: 3, function: '@(41caa0)', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841453914, …
12 …d: 2, function: '@(41ca70)', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454542, …
13 …id: 2, function: '@(41ca70)', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454670, …
14 …d: 1, function: '@(41ca40)', cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454762, …
15 …id: 1, function: '@(41ca40)', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454802, …
16 …id: 3, function: '@(41caa0)', cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841494828, …
Dconvert-with-debug-syms.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 … func-id: 3, function: main, cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841453914, …
12 …d: 2, function: {{.*foo.*}}, cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454542, …
13 …id: 2, function: {{.*foo.*}}, cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454670, …
14 …d: 1, function: {{.*bar.*}}, cpu: 37, thread: 84697, kind: function-enter, tsc: 3315356841454762, …
15 …id: 1, function: {{.*bar.*}}, cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841454802, …
16 …, func-id: 3, function: main, cpu: 37, thread: 84697, kind: function-exit, tsc: 3315356841494828, …
Dconvert-basic-arg1-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …0, func-id: 1, function: '1', cpu: 17, thread: 8715, kind: function-enter, tsc: 22555670288232728,…
12 … 0, func-id: 1, function: '1', cpu: 17, thread: 8715, kind: function-exit, tsc: 22555670288334784,…
13 …nction: '2', args: [ 1 ], cpu: 17, thread: 8715, kind: function-enter-arg, tsc: 22555670288335768,…
14 … 0, func-id: 2, function: '2', cpu: 17, thread: 8715, kind: function-exit, tsc: 22555670288365224,…
Dconvert-fdr-arg1-to-yaml.txt7 ; CHECK-NEXT: constant-tsc: true
8 ; CHECK-NEXT: nonstop-tsc: true
11 …ction: '1', args: [ 1 ], cpu: 49, thread: 14648, kind: function-enter-arg, tsc: 18828908666543318,…
12 …0, func-id: 1, function: '1', cpu: 49, thread: 14648, kind: function-exit, tsc: 18828908666595604,…
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.h96 } tsc; member
194 nv50_screen_tsc_unlock(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) in nv50_screen_tsc_unlock() argument
196 if (tsc->id >= 0) in nv50_screen_tsc_unlock()
197 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nv50_screen_tsc_unlock()
210 nv50_screen_tsc_free(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) in nv50_screen_tsc_free() argument
212 if (tsc->id >= 0) { in nv50_screen_tsc_free()
213 screen->tsc.entries[tsc->id] = NULL; in nv50_screen_tsc_free()
214 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nv50_screen_tsc_free()
Dnv50_tex.c356 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nv50->samplers[s][i]); in nv50_validate_tsc() local
358 if (!tsc) { in nv50_validate_tsc()
363 nv50->seamless_cube_map = tsc->seamless_cube_map; in nv50_validate_tsc()
364 if (tsc->id < 0) { in nv50_validate_tsc()
365 tsc->id = nv50_screen_tsc_alloc(nv50->screen, tsc); in nv50_validate_tsc()
368 65536 + tsc->id * 32, in nv50_validate_tsc()
369 NOUVEAU_BO_VRAM, 32, tsc->tsc); in nv50_validate_tsc()
372 nv50->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nv50_validate_tsc()
375 PUSH_DATA (push, (tsc->id << 12) | (i << 4) | 1); in nv50_validate_tsc()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_screen.h103 } tsc; member
220 nvc0_screen_tsc_unlock(struct nvc0_screen *screen, struct nv50_tsc_entry *tsc) in nvc0_screen_tsc_unlock() argument
222 if (tsc->id >= 0) in nvc0_screen_tsc_unlock()
223 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nvc0_screen_tsc_unlock()
236 nvc0_screen_tsc_free(struct nvc0_screen *screen, struct nv50_tsc_entry *tsc) in nvc0_screen_tsc_free() argument
238 if (tsc->id >= 0) { in nvc0_screen_tsc_free()
239 screen->tsc.entries[tsc->id] = NULL; in nvc0_screen_tsc_free()
240 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nvc0_screen_tsc_free()
Dnvc0_tex.c634 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nvc0_validate_tsc() local
638 if (!tsc) { in nvc0_validate_tsc()
642 nvc0->seamless_cube_map = tsc->seamless_cube_map; in nvc0_validate_tsc()
643 if (tsc->id < 0) { in nvc0_validate_tsc()
644 tsc->id = nvc0_screen_tsc_alloc(nvc0->screen, tsc); in nvc0_validate_tsc()
647 65536 + tsc->id * 32, NV_VRAM_DOMAIN(&nvc0->screen->base), in nvc0_validate_tsc()
648 32, tsc->tsc); in nvc0_validate_tsc()
651 nvc0->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nvc0_validate_tsc()
653 commands[n++] = (tsc->id << 12) | (i << 4) | 1; in nvc0_validate_tsc()
692 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nve4_validate_tsc() local
[all …]
/external/libnl/include/netlink/route/qdisc/
Dhfsc.h29 extern int rtnl_class_hfsc_get_rsc(const struct rtnl_class *cls, struct tc_service_curve *tsc);
30 extern int rtnl_class_hfsc_set_rsc(struct rtnl_class *cls, const struct tc_service_curve *tsc);
31 extern int rtnl_class_hfsc_get_fsc(const struct rtnl_class *cls, struct tc_service_curve *tsc);
32 extern int rtnl_class_hfsc_set_fsc(struct rtnl_class *cls, const struct tc_service_curve *tsc);
33 extern int rtnl_class_hfsc_get_usc(const struct rtnl_class *cls, struct tc_service_curve *tsc);
34 extern int rtnl_class_hfsc_set_usc(struct rtnl_class *cls, const struct tc_service_curve *tsc);
/external/libnl/lib/cli/qdisc/
Dhfsc.c166 struct tc_service_curve tsc; in hfsc_parse_class_argv() local
178 ret = hfsc_get_sc(optarg, &tsc); in hfsc_parse_class_argv()
184 rtnl_class_hfsc_set_rsc(class, &tsc); in hfsc_parse_class_argv()
189 ret = hfsc_get_sc(optarg, &tsc); in hfsc_parse_class_argv()
195 rtnl_class_hfsc_set_fsc(class, &tsc); in hfsc_parse_class_argv()
200 ret = hfsc_get_sc(optarg, &tsc); in hfsc_parse_class_argv()
206 rtnl_class_hfsc_set_rsc(class, &tsc); in hfsc_parse_class_argv()
207 rtnl_class_hfsc_set_fsc(class, &tsc); in hfsc_parse_class_argv()
212 ret = hfsc_get_sc(optarg, &tsc); in hfsc_parse_class_argv()
218 rtnl_class_hfsc_set_usc(class, &tsc); in hfsc_parse_class_argv()
/external/strace/tests/
Dprctl-tsc.c47 TAIL_ALLOC_OBJECT_CONST_PTR(int, tsc); in main()
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
64 printf("prctl(PR_GET_TSC, %p) = %s\n", tsc + 1, sprintrc(rc)); in main()
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
68 printf("prctl(PR_GET_TSC, %p) = %s\n", tsc, sprintrc(rc)); in main()
/external/strace/tests-mx32/
Dprctl-tsc.c47 TAIL_ALLOC_OBJECT_CONST_PTR(int, tsc); in main()
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
64 printf("prctl(PR_GET_TSC, %p) = %s\n", tsc + 1, sprintrc(rc)); in main()
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
68 printf("prctl(PR_GET_TSC, %p) = %s\n", tsc, sprintrc(rc)); in main()
/external/strace/tests-m32/
Dprctl-tsc.c47 TAIL_ALLOC_OBJECT_CONST_PTR(int, tsc); in main()
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
64 printf("prctl(PR_GET_TSC, %p) = %s\n", tsc + 1, sprintrc(rc)); in main()
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
68 printf("prctl(PR_GET_TSC, %p) = %s\n", tsc, sprintrc(rc)); in main()
/external/igt-gpu-tools/tools/
Dintel_residency.c382 uint64_t tsc, pc, res; in wait_until_idle() local
387 tsc = msr_read(IA32_TIME_STAMP_COUNTER); in wait_until_idle()
394 tsc = msr_read(IA32_TIME_STAMP_COUNTER) - tsc; in wait_until_idle()
396 res = pc * 100 / tsc; in wait_until_idle()
408 uint64_t tsc, pc; in do_measurement() local
417 tsc = msr_read(IA32_TIME_STAMP_COUNTER); in do_measurement()
423 tsc = msr_read(IA32_TIME_STAMP_COUNTER) - tsc; in do_measurement()
425 return pc * 100 / tsc; in do_measurement()
430 uint64_t tsc, pc[NUM_PC_STATES], res, best_res; in setup_idle() local
441 tsc = msr_read(IA32_TIME_STAMP_COUNTER); in setup_idle()
[all …]
/external/linux-kselftest/tools/testing/selftests/prctl/
D.gitignore1 disable-tsc-ctxt-sw-stress-test
2 disable-tsc-on-off-stress-test
3 disable-tsc-test
DMakefile7 TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \
8 disable-tsc-test
/external/stressapptest/src/
Dos.h256 uint64 tsc; in GetTimestamp() local
270 tsc = (static_cast<uint64>(tbu) << 32) | static_cast<uint64>(tbl); in GetTimestamp()
274 tsc = data.l64; in GetTimestamp()
277 tsc = 0; in GetTimestamp()
279 __asm __volatile("mrs %0, CNTVCT_EL0" : "=r" (tsc) : : ); in GetTimestamp()
282 tsc = 0; in GetTimestamp()
284 return (tsc); in GetTimestamp()

123456