Home
last modified time | relevance | path

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

12345678910>>...121

/external/perfetto/test/trace_processor/profiling/
Dperf_sample_sc.out1 "ts","cpu","cpu_mode","unwind_error","perf_session_id","cntr_name","is_timebase","tid","name"
2 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"__start_thread"
3 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZL15__pthread_startPv"
4 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN13thread_data_t10trampolineEPKS_"
5 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android14AndroidRuntime15javaThreadSh…
6 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android6Thread11_threadLoopEPv"
7 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android10PoolThread10threadLoopEv"
8 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android14IPCThreadState14joinThreadPo…
9 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android14IPCThreadState14executeComma…
10 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android7BBinder8transactEjRKNS_6Parce…
[all …]
Dperf_sample_rvc.out1 "ts","cpu","cpu_mode","unwind_error","perf_session_id","cntr_name","is_timebase","tid","name"
2 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"__libc_init"
3 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto11ServiceMainEiPPc"
4 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto4base14UnixTaskRunner3RunEv"
5 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"poll"
6 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"__ppoll"
7 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"__libc_init"
8 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto11ServiceMainEiPPc"
9 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto4base14UnixTaskRunner3RunEv"
10 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"poll"
[all …]
/external/linux-kselftest/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh26 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
27 echo $msg cpu hotplug is not supported >&2
32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
40 present_cpus=`cat $SYSFS/devices/system/cpu/present`
46 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
62 for cpu in $SYSFS/devices/system/cpu/cpu*; do
63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
64 echo ${cpu##/*/cpu}
81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8192/
Dplat_pm.c61 static void plat_cpu_pwrdwn_common(unsigned int cpu, in plat_cpu_pwrdwn_common() argument
64 assert(cpu == plat_my_core_pos()); in plat_cpu_pwrdwn_common()
66 plat_mt_pm_invoke_no_check(pwr_cpu_dwn, cpu, state); in plat_cpu_pwrdwn_common()
75 gicv3_cpuif_disable(cpu); in plat_cpu_pwrdwn_common()
76 gicv3_rdistif_off(cpu); in plat_cpu_pwrdwn_common()
78 ptp3_deinit(cpu); in plat_cpu_pwrdwn_common()
81 static void plat_cpu_pwron_common(unsigned int cpu, in plat_cpu_pwron_common() argument
84 assert(cpu == plat_my_core_pos()); in plat_cpu_pwron_common()
86 plat_mt_pm_invoke_no_check(pwr_cpu_on, cpu, state); in plat_cpu_pwron_common()
91 gicv3_rdistif_on(cpu); in plat_cpu_pwron_common()
[all …]
/external/tensorflow/tensorflow/core/kernels/linalg/
Dbanded_triangular_solve_op_test.cc117 BM_BandedTriangularSolve(2, 32, 1, true, cpu);
118 BM_BandedTriangularSolve(2, 32, 1, false, cpu);
119 BM_BandedTriangularSolve(4, 32, 1, true, cpu);
120 BM_BandedTriangularSolve(4, 32, 1, false, cpu);
121 BM_BandedTriangularSolve(8, 32, 1, true, cpu);
122 BM_BandedTriangularSolve(8, 32, 1, false, cpu);
123 BM_BandedTriangularSolve(16, 32, 1, true, cpu);
124 BM_BandedTriangularSolve(16, 32, 1, false, cpu);
125 BM_BandedTriangularSolve(2, 128, 1, true, cpu);
126 BM_BandedTriangularSolve(2, 128, 1, false, cpu);
[all …]
/external/mesa3d/src/broadcom/common/
Dv3d_cpu_tiling.h31 v3d_load_utile(void *cpu, uint32_t cpu_stride, in v3d_load_utile() argument
52 : [cpu] "+r"(cpu) in v3d_load_utile()
58 void *cpu2 = cpu + 8; in v3d_load_utile()
76 : [cpu] "+r"(cpu), in v3d_load_utile()
101 : [cpu] "+r"(cpu) in v3d_load_utile()
107 void *cpu2 = cpu + 8; in v3d_load_utile()
125 : [cpu] "+r"(cpu), in v3d_load_utile()
135 memcpy(cpu, gpu + gpu_offset, gpu_stride); in v3d_load_utile()
136 cpu += cpu_stride; in v3d_load_utile()
142 void *cpu, uint32_t cpu_stride) in v3d_store_utile() argument
[all …]
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online
93 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
99 $TIME echo 0 > /sys/devices/system/cpu/cpu${CPU}/online
112 [ -d /sys/devices/system/cpu/cpu0 ] || return -1
113 NUM=`ls /sys/devices/system/cpu/ \
128 [ -d /sys/devices/system/cpu ] || return 1
129 (cd /sys/devices/system/cpu; ls -d cpu[0-9]*)
156 for cpu in $(seq $range_low $range_high); do
157 if [ -e /sys/devices/system/cpu/cpu$cpu ]; then
[all …]
/external/chromium-trace/catapult/systrace/systrace/test_data/
Dprofile-chrome_systrace_perf_chrome_data1cpu": 2, "comm": "ksoftirqd/2", "tid": 14106, "sf": 539}, {"name": "cycles:HG", "weight": 1132096,…
/external/autotest/client/tests/tsc/src/
Dsched.h16 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) argument
17 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) argument
33 # define __CPU_SET(cpu, cpusetp) \ argument
34 ((cpusetp)->__bits[__CPUELT (cpu)] |= __CPUMASK (cpu))
35 # define __CPU_CLR(cpu, cpusetp) \ argument
36 ((cpusetp)->__bits[__CPUELT (cpu)] &= ~__CPUMASK (cpu))
37 # define __CPU_ISSET(cpu, cpusetp) \ argument
38 (((cpusetp)->__bits[__CPUELT (cpu)] & __CPUMASK (cpu)) != 0)
42 #define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp) argument
43 #define CPU_CLR(cpu, cpusetp) __CPU_CLR (cpu, cpusetp) argument
[all …]
/external/libchrome/base/
Dcpu_unittest.cc23 base::CPU cpu; in TEST() local
25 ASSERT_TRUE(cpu.has_mmx()); in TEST()
26 ASSERT_TRUE(cpu.has_sse()); in TEST()
27 ASSERT_TRUE(cpu.has_sse2()); in TEST()
40 if (cpu.has_sse3()) { in TEST()
45 if (cpu.has_ssse3()) { in TEST()
50 if (cpu.has_sse41()) { in TEST()
55 if (cpu.has_sse42()) { in TEST()
60 if (cpu.has_popcnt()) { in TEST()
65 if (cpu.has_avx()) { in TEST()
[all …]
/external/tensorflow/third_party/mkl_dnn/
Dmkldnn_v1.BUILD78 "src/cpu/*.cpp",
79 "src/cpu/*.hpp",
80 "src/cpu/**/*.cpp",
81 "src/cpu/**/*.hpp",
82 "src/cpu/xbyak/*.h",
83 "src/cpu/x64/jit_utils/jitprofiling/*.c",
84 "src/cpu/x64/jit_utils/jitprofiling/*.h",
102 "src/cpu",
103 "src/cpu/gemm",
104 "src/cpu/xbyak",
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_ipc.c37 int hisi_cpus_pd_in_cluster_besides_curr(unsigned int cpu, in hisi_cpus_pd_in_cluster_besides_curr() argument
48 if (cpu == i) in hisi_cpus_pd_in_cluster_besides_curr()
59 int hisi_cpus_powered_off_besides_curr(unsigned int cpu) in hisi_cpus_powered_off_besides_curr() argument
64 return (val == (0x8 << (cpu * 4))); in hisi_cpus_powered_off_besides_curr()
97 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cpu_on_off() argument
104 offset = cluster * 16 + cpu * 4; in hisi_ipc_cpu_on_off()
106 offset = cluster * 16 + cpu * 4 + 1; in hisi_ipc_cpu_on_off()
116 hisi_ipc_send(cpu_ipc_num[cluster][cpu]); in hisi_ipc_cpu_on_off()
119 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_on() argument
121 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_ON); in hisi_ipc_cpu_on()
[all …]
Dhikey_pm.c34 int cpu, cluster; in hikey_pwr_domain_on() local
38 cpu = MPIDR_AFFLVL0_VAL(mpidr); in hikey_pwr_domain_on()
41 hisi_ipc_cluster_on(cpu, cluster); in hikey_pwr_domain_on()
43 hisi_pwrc_set_core_bx_addr(cpu, cluster, hikey_sec_entrypoint); in hikey_pwr_domain_on()
44 hisi_pwrc_enable_debug(cpu, cluster); in hikey_pwr_domain_on()
45 hisi_ipc_cpu_on(cpu, cluster); in hikey_pwr_domain_on()
53 int cpu, cluster; in hikey_pwr_domain_on_finish() local
57 cpu = MPIDR_AFFLVL0_VAL(mpidr); in hikey_pwr_domain_on_finish()
68 hisi_pwrc_set_core_bx_addr(cpu, cluster, 0); in hikey_pwr_domain_on_finish()
79 int cpu, cluster; in hikey_pwr_domain_off() local
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spmc/
Dmtspmc.c40 void spm_enable_cpu_auto_off(int cluster, int cpu) in spm_enable_cpu_auto_off() argument
42 uintptr_t reg = per_cpu(cluster, cpu, MCUCFG_SPARK); in spm_enable_cpu_auto_off()
48 void spm_disable_cpu_auto_off(int cluster, int cpu) in spm_disable_cpu_auto_off() argument
50 uintptr_t reg = per_cpu(cluster, cpu, MCUCFG_SPARK); in spm_disable_cpu_auto_off()
56 void spm_set_cpu_power_off(int cluster, int cpu) in spm_set_cpu_power_off() argument
58 mmio_clrbits_32(per_cpu(cluster, cpu, SPM_CPU_PWR), PWRCTRL_PWR_ON); in spm_set_cpu_power_off()
73 void mcucfg_set_bootaddr(int cluster, int cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() argument
81 assert(cpu >= 0 && cpu < 4); in mcucfg_set_bootaddr()
82 reg = mp2_bootreg[cpu]; in mcucfg_set_bootaddr()
84 reg = per_cpu(cluster, cpu, MCUCFG_BOOTADDR); in mcucfg_set_bootaddr()
[all …]
/external/ltp/testcases/open_posix_testsuite/include/
Daffinity.h31 static int set_affinity(int cpu) in set_affinity() argument
36 CPU_SET(cpu, &mask); in set_affinity()
44 int cpu = -1; in get_online_cpu_from_sysfs() local
49 fscanf(f, "%d", &cpu); in get_online_cpu_from_sysfs()
52 return cpu; in get_online_cpu_from_sysfs()
58 int cpu = -1; in get_online_cpu_from_cpuinfo() local
74 if (sscanf(line, "processor%*[^0123456789]%d", &cpu) == 1) in get_online_cpu_from_cpuinfo()
79 return cpu; in get_online_cpu_from_cpuinfo()
84 int cpu; in set_affinity_single() local
86 cpu = get_online_cpu_from_sysfs(); in set_affinity_single()
[all …]
/external/ltp/testcases/kernel/power_management/
Drunpwtests03.sh31 for cpu in $(seq 0 "${total_cpus}" )
33 cpufiles=$(find /sys/devices/system/cpu/cpu"${cpu}"/cpufreq/ \
56 for cpu in $(seq 0 "${total_cpus}" )
61 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor
64 "governor -- ${govr} for cpu${cpu}"
84 for cpu in $(seq 0 "${total_cpus}" )
87 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor
93 for cpu in $(seq 0 "${total_cpus}" )
98 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_setspeed
101 "to set frequency -- ${freq} for cpu${cpu}"
[all …]
/external/tensorflow/tensorflow/core/kernels/
Done_hot_op_test.cc70 BM_OneHot(32, 512, 1, cpu);
71 BM_OneHot(64, 512, 1, cpu);
72 BM_OneHot(128, 512, 1, cpu);
74 BM_OneHot(32, 1024, 1, cpu);
75 BM_OneHot(64, 1024, 1, cpu);
76 BM_OneHot(128, 1024, 1, cpu);
78 BM_OneHot(32, 10000, 1, cpu);
79 BM_OneHot(64, 10000, 1, cpu);
80 BM_OneHot(128, 10000, 1, cpu);
82 BM_OneHot(32, 512, 0, cpu);
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/spmc/
Dmtspmc.c18 void mcucfg_disable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_disable_gic_wakeup() argument
20 mmio_setbits_32(MCUCFG_CPC_FLOW_CTRL_CFG, GIC_WAKEUP_IGNORE(cpu)); in mcucfg_disable_gic_wakeup()
23 void mcucfg_enable_gic_wakeup(uint32_t cluster, uint32_t cpu) in mcucfg_enable_gic_wakeup() argument
25 mmio_clrbits_32(MCUCFG_CPC_FLOW_CTRL_CFG, GIC_WAKEUP_IGNORE(cpu)); in mcucfg_enable_gic_wakeup()
28 void mcucfg_set_bootaddr(uint32_t cluster, uint32_t cpu, uintptr_t bootaddr) in mcucfg_set_bootaddr() argument
32 mmio_write_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR), bootaddr); in mcucfg_set_bootaddr()
35 uintptr_t mcucfg_get_bootaddr(uint32_t cluster, uint32_t cpu) in mcucfg_get_bootaddr() argument
39 return (uintptr_t)mmio_read_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR)); in mcucfg_get_bootaddr()
42 void mcucfg_init_archstate(uint32_t cluster, uint32_t cpu, bool arm64) in mcucfg_init_archstate() argument
51 mmio_setbits_32(reg, MCUCFG_INITARCH_CPU_BIT(cpu)); in mcucfg_init_archstate()
[all …]
/external/arm-trusted-firmware/plat/nvidia/tegra/drivers/flowctrl/
Dflowctrl.c86 unsigned int i, cpu = read_mpidr() & MPIDR_CPU_MASK; in tegra_fc_ccplex_pgexit_lock() local
99 if (i == cpu) in tegra_fc_ccplex_pgexit_lock()
125 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cpu_powerdn() local
127 VERBOSE("CPU%d powering down...\n", cpu); in tegra_fc_cpu_powerdn()
128 tegra_fc_prepare_suspend(cpu, 0); in tegra_fc_cpu_powerdn()
136 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cluster_idle() local
141 tegra_fc_cc4_ctrl(cpu, 0); in tegra_fc_cluster_idle()
149 tegra_fc_prepare_suspend(cpu, val); in tegra_fc_cluster_idle()
157 int cpu = mpidr & MPIDR_CPU_MASK; in tegra_fc_cluster_powerdn() local
162 tegra_fc_cc4_ctrl(cpu, 0); in tegra_fc_cluster_powerdn()
[all …]
/external/arm-trusted-firmware/plat/mediatek/mt8183/
Dplat_pm.c112 #define CPU_IDX(cluster, cpu) ((cluster << 2) + cpu) argument
136 static bool clst_single_pwr(int cluster, int cpu) in clst_single_pwr() argument
140 int my_idx = (cluster << 2) + cpu; in clst_single_pwr()
146 static bool clst_single_on(int cluster, int cpu) in clst_single_on() argument
149 int my_idx = (cluster << 2) + cpu; in clst_single_on()
212 static void mcdi_ctrl_before_hotplug_on(int cluster, int cpu) in mcdi_ctrl_before_hotplug_on() argument
215 mcdi_pause_clr(cluster, CPU_IDX(cluster, cpu), OFF); in mcdi_ctrl_before_hotplug_on()
216 mcdi_pause_set(cluster, CPU_IDX(cluster, cpu), ON); in mcdi_ctrl_before_hotplug_on()
220 static void mcdi_ctrl_before_hotplug_off(int cluster, int cpu, bool cluster_off) in mcdi_ctrl_before_hotplug_off() argument
224 CPU_IDX(cluster, cpu), OFF); in mcdi_ctrl_before_hotplug_off()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf_cpu.c187 int epfd, cpu; in test() local
195 for (cpu = 0; cpu < len; ++cpu) { in test()
197 ev.data.fd = rcv_fd[cpu]; in test()
198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
203 for (cpu = 0; cpu < len; ++cpu) { in test()
204 send_from_cpu(cpu, family, proto); in test()
205 receive_on_cpu(rcv_fd, len, epfd, cpu, proto); in test()
209 for (cpu = len - 1; cpu >= 0; --cpu) { in test()
210 send_from_cpu(cpu, family, proto); in test()
211 receive_on_cpu(rcv_fd, len, epfd, cpu, proto); in test()
[all …]
/external/autotest/client/tests/monotonic_time/src/
Dcpuset.c19 int cpu; in count_cpus() local
21 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) in count_cpus()
22 if (CPU_ISSET(cpu, cpus)) in count_cpus()
38 int cpu; in parse_cpu_set() local
72 for (cpu = start; cpu <= end; ++cpu) in parse_cpu_set()
73 CPU_SET(cpu, cpus); in parse_cpu_set()
116 int cpu; in show_cpu_set() local
118 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in show_cpu_set()
119 if (CPU_ISSET(cpu, cpus)) { in show_cpu_set()
121 start = cpu; in show_cpu_set()
[all …]
/external/arm-trusted-firmware/plat/arm/board/tc0/fdts/
Dtc0_spmc_optee_sp_manifest.dts38 CPU0:cpu@0 {
39 device_type = "cpu";
46 * SPMC (Hafnium) requires secondary cpu nodes are declared in
49 CPU7:cpu@700 {
50 device_type = "cpu";
56 CPU6:cpu@600 {
57 device_type = "cpu";
63 CPU5:cpu@500 {
64 device_type = "cpu";
70 CPU4:cpu@400 {
[all …]
Dtc0_spmc_manifest.dts52 CPU0:cpu@0 {
53 device_type = "cpu";
60 * SPMC (Hafnium) requires secondary cpu nodes are declared in
63 CPU7:cpu@700 {
64 device_type = "cpu";
70 CPU6:cpu@600 {
71 device_type = "cpu";
77 CPU5:cpu@500 {
78 device_type = "cpu";
84 CPU4:cpu@400 {
[all …]
/external/linux-kselftest/tools/testing/selftests/rseq/
Dbasic_percpu_ops_test.c50 int cpu; in rseq_this_cpu_lock() local
55 cpu = rseq_cpu_start(); in rseq_this_cpu_lock()
56 ret = rseq_cmpeqv_storev(&lock->c[cpu].v, in rseq_this_cpu_lock()
57 0, 1, cpu); in rseq_this_cpu_lock()
67 return cpu; in rseq_this_cpu_lock()
70 void rseq_percpu_unlock(struct percpu_lock *lock, int cpu) in rseq_percpu_unlock() argument
72 assert(lock->c[cpu].v == 1); in rseq_percpu_unlock()
77 rseq_smp_store_release(&lock->c[cpu].v, 0); in rseq_percpu_unlock()
83 int i, cpu; in test_percpu_spinlock_thread() local
91 cpu = rseq_this_cpu_lock(&data->lock); in test_percpu_spinlock_thread()
[all …]

12345678910>>...121