/qemu/scripts/performance/ |
H A D | topN_perf.py | 3 # Print the top N most executed functions in QEMU using perf. 5 # topN_perf.py [-h] [-n] <number of displayed top functions> -- \ 10 # [-n] - Specify the number of top functions to print. 42 usage='topN_perf.py [-h] [-n] <number of displayed top functions > -- ' 47 help='Specify the number of top functions to print.') 112 # Read the reported data to functions[] 113 functions = [] variable 117 functions = [line for line in data.readlines() if line and line[0] variable 120 # Limit the number of top functions to "top" 121 number_of_top_functions = top if len(functions) > top else len(functions) [all …]
|
H A D | topN_callgrind.py | 3 # Print the top N most executed functions in QEMU using callgrind. 5 # topN_callgrind.py [-h] [-n] <number of displayed top functions> -- \ 10 # [-n] - Specify the number of top functions to print. 42 usage='topN_callgrind.py [-h] [-n] <number of displayed top functions> -- ' 47 help='Specify the number of top functions to print.') 101 # Number of functions recorded by callgrind, last two lines are always empty 104 # Limit the number of top functions to "top" 108 # Store the data of the top functions in top_functions[] 123 # Print top N functions
|
/qemu/include/qemu/ |
H A D | coroutine-core.h | 20 * cooperative userspace threading. These functions provide a simple but 25 * These functions are re-entrant and may be used outside the BQL. 27 * Functions that execute in coroutine context cannot be called 28 * directly from normal functions. Use @coroutine_fn to mark such 29 * functions. For example: 36 * checker catch misuse of such functions. This annotation might make 44 * Functions that execute in coroutine context cannot be called 45 * directly from normal functions. Use @coroutine_fn to mark such 46 * functions. For example: 53 * checker catch misuse of such functions. This annotation might make [all …]
|
H A D | transactions.h | 25 * The intended usage is the following: you create "prepare" functions, which 31 * tran_create(), call your "prepare" functions on it, and finally call 35 * The clean() functions registered by the drivers in a transaction are called 36 * last, after all abort() or commit() functions have been called.
|
H A D | coroutine.h | 25 * cooperative userspace threading. These functions provide a simple but 30 * These functions are re-entrant and may be used outside the BQL. 32 * Functions that execute in coroutine context cannot be called 33 * directly from normal functions. Use @coroutine_fn to mark such 34 * functions. For example: 41 * checker catch misuse of such functions. This annotation might make
|
/qemu/docs/devel/ |
H A D | loads-stores.rst | 9 QEMU internally has multiple families of functions for performing 19 These functions operate on a host pointer, and should be used 53 There are also functions which take the size as an argument: 76 These functions operate on a guest virtual address, plus a context 87 These functions may cause a guest CPU exception to be taken 101 it in other functions that are *not* the top level 104 if needed to the functions that the helper calls. 131 These functions work like the ``cpu_{ld,st}_mmu`` functions except 164 These functions work like the ``cpu_{ld,st}_mmuidx_ra`` functions 169 virtual address from helper functions, unless the access should [all …]
|
H A D | reset.rst | 21 to control it. All resettable control functions must be called while holding 27 ``resettable_reset()``. These functions take two parameters: a pointer to the 73 possible to interleave multiple calls to these three functions. There may 89 calls to resettable interface are done through base class functions, such an 92 For Devices and Buses, the following helper functions exist: 99 prefer to use these functions instead of ``resettable_reset()``. 101 Device and bus functions co-exist because there can be semantic differences 156 must provide and what functions it has access to. It is intended for people 351 It also calls all the functions registered with it using 352 ``qemu_register_reset()``. Those functions are called during the
|
/qemu/scripts/coccinelle/ |
H A D | errp-guard.cocci | 32 // Disable optional_qualifier to skip functions with 35 // Skip functions with "assert(_errp && *_errp)" statement, because 61 // Add invocation of ERRP_GUARD() to errp-functions where // necessary 103 // functions to warn (even those we are not going to convert). 166 // Match functions with propagation of local error to errp. 167 // We want to refer these functions in several following rules, but I 169 // (to not match another functions with same name in following rules). 170 // Not-proper way is as follows: rename errp parameter in functions 176 // path. Functions with multiple definitions or propagates we want to 234 // Note also that errp-cleaning functions [all …]
|
/qemu/block/ |
H A D | coroutines.h | 2 * Block layer I/O functions 34 * I/O API functions. These functions are thread-safe. 70 * "I/O or GS" API functions. These functions can run without
|
/qemu/hw/audio/ |
H A D | gusemu.h | 39 /* ** Callback functions needed: */ 44 …est(GUSEmuState *state, int hwirq, int num);/* needed in both mixer and bus emulation functions. */ 45 …EmuState *state, int hwirq); /* used by gus_write() only - can be left empty for mixer functions */ 46 …EmuState *state); /* used by gus_write() only - can be left empty for mixer functions */ 48 /* ** ISA bus interface functions: */ 72 /* ** GF1 mixer emulation functions: */
|
/qemu/docs/ |
H A D | pcie_sriov.txt | 8 virtual functions (VFs) for the main purpose of eliminating software 37 supports functions beyond it's "own" function space (0-7), 38 which is necessary to support more than 7 functions, or 39 if functions extends beyond offset 7 because they are placed at an 70 which will delete all the virtual functions and associated resources.
|
/qemu/include/block/ |
H A D | block-io.h | 33 * I/O API functions. These functions are thread-safe, and therefore 36 * These functions can only call functions from I/O and Common categories, 39 * All functions in this category must use the macro 334 * "I/O or GS" API functions. These functions can run without 337 * More specifically, these functions use BDRV_POLL_WHILE(bs), which requires 342 * Therefore, these functions are not proper I/O, because they 345 * These functions can call any function from I/O, Common and this 348 * All functions in this category must use the macro
|
H A D | blockjob_int.h | 41 * I/O API functions. These functions are thread-safe. 56 * Global state (GS) API. These functions run under the BQL. 85 * Global state (GS) API. These functions run under the BQL. 135 * I/O API functions. These functions are thread-safe.
|
H A D | block-common.h | 33 * Function specifiers, which do nothing but mark functions to be 39 * - co_wrapper functions can be called by only non-coroutine context, because 41 * - co_wrapper_mixed functions can be called by both coroutine and 43 * - co_wrapper_bdrv_rdlock are co_wrapper functions but automatically take and 45 * - co_wrapper_mixed_bdrv_rdlock are co_wrapper_mixed functions but 49 * These functions should not be called from a coroutine_fn; instead, 60 * Function specifier which does nothing but mark functions to be generated by 64 * functions that must not be called in coroutine context. It achieves this by 71 * the same way, no_co_wrapper_bdrv_wrlock functions automatically take the 552 * Common functions that are neither I/O nor Global State. [all …]
|
/qemu/docs/sphinx/ |
H A D | kerneldoc.py | 56 'functions': directives.unchanged, 92 elif 'functions' in self.options: 93 functions = self.options.get('functions').split() 94 if functions: 95 for f in functions:
|
/qemu/include/system/ |
H A D | reset.h | 46 * It is not permitted to register or unregister reset functions or 70 * Register @func on the list of functions which are called when the 71 * entire system is reset. Functions registered with this API and 74 * Functions registered with this API are called in the 'hold' phase 81 * It is not permitted to register or unregister reset functions or
|
/qemu/docs/devel/migration/ |
H A D | main.rst | 173 functions. The first one will generate a device ``instance_id`` 208 Each device has to register two functions, one to save the state and 219 Two functions in the ``ops`` structure are the ``save_state`` 220 and ``load_state`` functions. Notice that ``load_state`` receives a version_id 250 or not. If this functions returns false, the subsection is not sent. 269 The 'pre_load' and 'post_load' functions on subsections are only 418 Massaging functions 428 The functions to do that are inside a vmstate definition, and are called: 447 Example: You can look at hpet.c, that uses the first three functions 455 If you use memory or portio_list API functions that update memory layout outside [all …]
|
/qemu/include/ |
H A D | glib-compat.h | 2 * GLIB Compatibility Functions 40 * These functions perform function pointer casts which can cause function call 42 * instead of these functions. 48 * use of functions from newer GLib via this compat header needs a little
|
/qemu/include/hw/xtensa/ |
H A D | xtensa-isa.h | 59 * . functional units - TIE shared functions 61 * The interface defines a set of functions to access each data type. 64 * be made through the functions defined here. 101 * The encoding and decoding functions operate on instruction buffers, 211 * functions may read or write past the end of the code. 252 * stage values returned by other functions in this library will range 386 /* Check various properties of opcodes. These functions return 0 if 486 * functions return non-zero on error, e.g., if the field is not defined 501 * be encoded in a variety of different ways. These functions hide 564 * of the next instruction? The following functions are defined to [all …]
|
/qemu/include/exec/ |
H A D | helper-gen-common.h | 3 * Helper file for declaring TCG helper functions. 4 * This one expands generation functions for tcg opcodes.
|
H A D | helper-gen.h | 3 * Helper file for declaring TCG helper functions. 4 * This one expands generation functions for tcg opcodes.
|
H A D | helper-proto.h | 3 * Helper file for declaring TCG helper functions. 4 * This one expands prototypes for the helper functions.
|
H A D | helper-proto-common.h | 3 * Helper file for declaring TCG helper functions. 4 * This one expands prototypes for the helper functions.
|
/qemu/include/qapi/ |
H A D | type-helpers.h | 2 * QAPI common helper functions 4 * This file provides helper functions related to types defined
|
/qemu/subprojects/libvduse/include/ |
H A D | compiler.h | 142 * with functions that expect NUL-terminated strings, and to avoid warnings 245 * The TSA_REQUIRES() is used to annotate functions: the caller of the 256 * TSA_EXCLUDES() is used to annotate functions: the caller of the 267 * TSA_ACQUIRE() is used to annotate functions: the caller of the 279 * TSA_RELEASE() is used to annotate functions: the caller of the 290 * TSA_NO_TSA is used to annotate functions. Use only when you need to. 297 * TSA_ASSERT() is used to annotate functions: This function will assert that
|