Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 24 of 24) sorted by relevance

/qemu/tests/bench/
H A Datomic_add-bench.c20 static struct count *counts; variable
68 qemu_mutex_lock(&counts[index].lock); in thread_func()
69 counts[index].val += 1; in thread_func()
70 qemu_mutex_unlock(&counts[index].lock); in thread_func()
72 qatomic_inc(&counts[index].val); in thread_func()
101 counts = qemu_memalign(64, sizeof(*counts) * range); in create_threads()
102 memset(counts, 0, sizeof(*counts) * range); in create_threads()
104 qemu_mutex_init(&counts[i].lock); in create_threads()
131 val += counts[i].val; in pr_stats()
H A Datomic64-bench.c25 static struct count *counts; variable
69 qatomic_read_i64(&counts[index].i64); in thread_func()
98 counts = g_malloc0_n(range, sizeof(*counts)); in create_threads()
/qemu/contrib/plugins/
H A Dhwprofile.c34 IOCounts counts; member
110 GList *counts; in plugin_exit() local
123 counts = g_hash_table_get_values(devices); in plugin_exit()
124 if (counts && g_list_next(counts)) { in plugin_exit()
127 it = g_list_sort(counts, sort_cmp); in plugin_exit()
141 fmt_iocount_record(report, &loc->counts); in plugin_exit()
206 DeviceCounts *counts; in vcpu_haddr() local
211 if (!counts) { in vcpu_haddr()
213 counts = new_count(name, base); in vcpu_haddr()
218 hwprofile_match_hit(counts, off); in vcpu_haddr()
[all …]
H A Dhowvec.c180 GList *counts; in plugin_exit() local
208 counts = g_hash_table_get_values(insns); in plugin_exit()
209 if (counts && g_list_next(counts)) { in plugin_exit()
211 counts = g_list_sort(counts, cmp_exec_count); in plugin_exit()
213 for (i = 0; i < limit && g_list_next(counts); in plugin_exit()
214 i++, counts = g_list_next(counts)) { in plugin_exit()
215 InsnExecCount *rec = (InsnExecCount *) counts->data; in plugin_exit()
225 g_list_free(counts); in plugin_exit()
H A Dhotpages.c80 GList *counts; in plugin_exit() local
82 counts = g_hash_table_get_values(pages); in plugin_exit()
83 if (counts && g_list_next(counts)) { in plugin_exit()
86 it = g_list_sort(counts, cmp_access_count); in plugin_exit()
H A Dhotblocks.c62 GList *counts, *it; in plugin_exit() local
67 counts = g_hash_table_get_values(hotblocks); in plugin_exit()
68 it = g_list_sort(counts, cmp_exec_count); in plugin_exit()
/qemu/tests/plugin/
H A Dbb.c24 static struct qemu_plugin_scoreboard *counts; variable
48 CPUCount *count = qemu_plugin_scoreboard_find(counts, i); in plugin_exit()
56 qemu_plugin_scoreboard_free(counts); in plugin_exit()
61 CPUCount *count = qemu_plugin_scoreboard_find(counts, cpu_index); in vcpu_idle()
73 CPUCount *count = qemu_plugin_scoreboard_find(counts, cpu_index); in vcpu_tb_exec()
121 counts = qemu_plugin_scoreboard_new(sizeof(CPUCount)); in qemu_plugin_install()
122 bb_count = qemu_plugin_scoreboard_u64_in_struct(counts, CPUCount, bb_count); in qemu_plugin_install()
124 counts, CPUCount, insn_count); in qemu_plugin_install()
H A Dinline.c37 static struct qemu_plugin_scoreboard *counts; variable
165 qemu_plugin_scoreboard_free(counts); in plugin_exit()
274 counts, CPUCount, count_tb); in qemu_plugin_install()
276 counts, CPUCount, count_insn); in qemu_plugin_install()
278 counts, CPUCount, count_mem); in qemu_plugin_install()
280 counts, CPUCount, count_tb_inline); in qemu_plugin_install()
282 counts, CPUCount, count_insn_inline); in qemu_plugin_install()
284 counts, CPUCount, count_mem_inline); in qemu_plugin_install()
286 counts, CPUCount, tb_cond_num_trigger); in qemu_plugin_install()
288 counts, CPUCount, tb_cond_track_count); in qemu_plugin_install()
[all …]
H A Dmem.c24 static struct qemu_plugin_scoreboard *counts; variable
44 qemu_plugin_scoreboard_free(counts); in plugin_exit()
132 counts = qemu_plugin_scoreboard_new(sizeof(CPUCount)); in qemu_plugin_install()
134 counts, CPUCount, mem_count); in qemu_plugin_install()
135 io_count = qemu_plugin_scoreboard_u64_in_struct(counts, CPUCount, io_count); in qemu_plugin_install()
H A Dinsn.c33 struct qemu_plugin_scoreboard *counts; /* MatchCount */ member
73 MatchCount *match = qemu_plugin_scoreboard_find(insn_match->counts, in vcpu_insn_matched_exec_before()
180 qemu_plugin_scoreboard_free(m->counts); in plugin_exit()
192 .counts = qemu_plugin_scoreboard_new(sizeof(MatchCount)) }; in parse_match()
/qemu/tests/avocado/acpi-bits/bits-tests/
H A Dsmilatency.py295 counts = [f() for i in range(count)]
96 return sum(counts)/len(counts)
/qemu/qapi/
H A Dreplay.json72 # i.e. at instruction counts greater than the current one. The
H A Dblock-core.json668 # @bins: list of io request counts corresponding to histogram
5114 # @refcount-bits: Width of reference counts in bits (default: 16)
/qemu/docs/devel/
H A Datomics.rst358 operations. ``smp_mb()`` counts as both acquire and release, therefore
373 Note that a load-store pair only counts if the two operations access the
H A Dlockcnt.txt4 QEMU often uses reference counts to track data structures that are being
H A Dreplay.rst231 instruction counts used to correctly inject inputs at replay.
H A Dclocks.rst390 Obtaining tick counts
H A Dtcg-plugins.rst99 can miss counts. If you want absolute precision you should use a
/qemu/docs/
H A Dqcow2-cache.txt59 Reference counts are used for cluster allocation and internal
/qemu/docs/interop/
H A Dqmp-spec.rst435 errors to existing commands counts as extension, so 1. applies.
/qemu/
H A DCOPYING168 access to copy the source code from the same place counts as
H A Dhmp-commands.hx1724 "in the future", i.e. at instruction counts greater than the current one.
/qemu/linux-headers/LICENSES/preferred/
H A DGPL-2.0187 access to copy the source code from the same place counts as
/qemu/tcg/i386/
H A Dtcg-target.c.inc778 bit counts, so %r12 can be used as the index. */