/qemu/tests/bench/ |
H A D | atomic_add-bench.c | 20 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 D | atomic64-bench.c | 25 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 D | hwprofile.c | 34 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 D | howvec.c | 180 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 D | hotpages.c | 80 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 D | hotblocks.c | 62 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 D | bb.c | 24 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 D | inline.c | 37 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 D | mem.c | 24 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 D | insn.c | 33 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 D | smilatency.py2 | 95 counts = [f() for i in range(count)] 96 return sum(counts)/len(counts)
|
/qemu/qapi/ |
H A D | replay.json | 72 # i.e. at instruction counts greater than the current one. The
|
H A D | block-core.json | 668 # @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 D | atomics.rst | 358 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 D | lockcnt.txt | 4 QEMU often uses reference counts to track data structures that are being
|
H A D | replay.rst | 231 instruction counts used to correctly inject inputs at replay.
|
H A D | clocks.rst | 390 Obtaining tick counts
|
H A D | tcg-plugins.rst | 99 can miss counts. If you want absolute precision you should use a
|
/qemu/docs/ |
H A D | qcow2-cache.txt | 59 Reference counts are used for cluster allocation and internal
|
/qemu/docs/interop/ |
H A D | qmp-spec.rst | 435 errors to existing commands counts as extension, so 1. applies.
|
/qemu/ |
H A D | COPYING | 168 access to copy the source code from the same place counts as
|
H A D | hmp-commands.hx | 1724 "in the future", i.e. at instruction counts greater than the current one.
|
/qemu/linux-headers/LICENSES/preferred/ |
H A D | GPL-2.0 | 187 access to copy the source code from the same place counts as
|
/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 778 bit counts, so %r12 can be used as the index. */
|