Tree:
2b02f29a2d
2ndAdjustmentVulkan
2ndAdjustmentVulkanV3-STOP_FORCE_PUSHING_CAMILLE
2ndAdjustmentVulkanv2
2ndgpuopts
John-android-rescale-toggle
Kernel
TTYD
Update-some-barriers-test
astc_optimization1
astc_optimizations
atomicops-mxwell
bcn-ternary-soft
bioshock
buffer_cache
bump-httplib-minver
civa
crueter-patch-1
descriptor
descriptor_pool_opt
descriptor_set
discfix
dmnt2
drop-msvc
dynarmic
dynarmic-ppc64
eden-managarm
eden-orbis-ps4
eden-wasm
eds-true-adreno-fixes
eds-true-adreno-fixes-pre-0.1.0
eds_changes1
eds_changes_phasewise
feat/android_kotlin_compose
feat/game_override
fix-friend-list-freeze
fix-grid-autoalign
fix-update-android
fix-update-deps-ci
fix/discord-rpc
flatopsfixes23485
fs-try
gpuopts
kosmic_krisp
kosmickrisp
lanobu
lines
liz-dynarmic-macos-fbsd-port
liz-heaptrack-fix
lizize/fixcrashwehenimagesizeexceed
lizzie/1st-anniversary-icon
lizzie/amsmeow
lizzie/anv-cached-mesa-hack
lizzie/areafixnvidia
lizzie/astc-mp4-improv
lizzie/aurfixixifxixfi
lizzie/bitfield-rework
lizzie/bundle-v53
lizzie/bundleevil123
lizzie/civ7-y2k-dns-ban
lizzie/cpudetect1234
lizzie/crashes-qt-somesettings
lizzie/dynarmic-exclusive-fixups
lizzie/edit-handheld-mode
lizzie/evil-f32-u32-format-fix
lizzie/evil-meow-meow
lizzie/fbsd-shm_create_largepage
lizzie/ffmpeg-d1d873c003
lizzie/ffmpeg-fix-externel
lizzie/fix-nvmap-handles
lizzie/fix-nvmap-handles-but-evil
lizzie/fixandroid7435683485
lizzie/forceattachements-at-all-times
lizzie/fs-msvc-succks
lizzie/gamemetadatacorrupt
lizzie/gigdigdi75
lizzie/gutter-sw-blitter
lizzie/hblfixusperhashxha
lizzie/hbloader-fix
lizzie/hleinlineremoveredundant
lizzie/inline-123
lizzie/inline-gpu-works1
lizzie/inlinecodecnvenc
lizzie/invert-gyro
lizzie/ios-port-sud
lizzie/jit-addresschecks
lizzie/jthread74573785
lizzie/macos-network-ifaces
lizzie/macos-vk-metal-fix-stype
lizzie/maxwell-use-params-instead-of-template
lizzie/mediatek-stuff-for-fun
lizzie/mlp223
lizzie/msvcfix1234
lizzie/multicore-macos-fix1
lizzie/nce-invalidate-split
lizzie/nce-port1123
lizzie/noexcept-dynarmic
lizzie/not-quite-correct-pte
lizzie/openssl-external-builds
lizzie/pkza-mwait
lizzie/powerunswizzle
lizzie/product-model-wawa
lizzie/qtcrashwhensgssersrtsr
lizzie/readonly-listicons
lizzie/remove-disassembler-dynarmic
lizzie/remove-mlp-2-level
lizzie/restore-fcsm
lizzie/rework-ips
lizzie/settings-blocked-domains
lizzie/simplify-invalid-acc
lizzie/sm-AtmosphereHasService
lizzie/spirvheaderstoolsnuke
lizzie/splay
lizzie/ssaa-what-the-fuck
lizzie/stable-shader-pools
lizzie/staging12
lizzie/stuff-for-fun-but-evil
lizzie/swkbd-mhu
lizzie/tomo-toggle
lizzie/tryfixrandomvkshit
lizzie/ulaunch-attempt1
lizzie/unaligned-attempt-2
lizzie/unity-build
lizzie/update-faq-link-wwa
lizzie/vex-encode-vmovd
lizzie/virtualbufferwiondws867
lizzie/vk-ext-fault-info
lizzie/vkexperiments1-highp-fucked
lizzie/vkweep12
lizzie/wstring-uni-123
lizzie/xbyak-force-bundled
lizzie/xcode-evil-shit-123
lizzie/zlib-ng
macroify-surface-stuffs
many/fix-tomodachi
master
memory_changes
mmap-fixews
mutliplayer-filter-better1
n64
nce_cpp
pipelinederivative
qcomopts2
queries
querybugfix
refactoreds2
release-early-fences
release/0.0.3
release/0.0.4
release/0.1.0
release/0.2.0
restore-metal-surface
revert-2695
showcase
showcase2
sjkdbsdfjkbsdf-2834
spvopts
sured-revert
test-revert-gpu-optim
test2
tex_opt
true-eds
true-eds-graphics
true-eds-pre-0.0.1
uma
update-deps-1780370490
update-deps-1780370770
update-translations-1777730513
update-translations-1779199346
update-translations-1779804173
vk-experiments1
vk-fix-oom-force-maller-buffers
vk-symph
vkexperiments1
vuid00336_1
vuid02999
vuid04553
vulkanasync
workgroup
xbzk-dma-pusher-step-redesign
xbzk-saf-recursive-write-with-permission-request
xbzk/background-support
xbzk/flicker-fix
xbzk/frame-skipping+interpolation-experiments
xbzk/gpu-logging_qt-controls_android-fix
xbzk/homebrew-program-args-support
xbzk/nzp-mesa-fixes
xbzk/renderdoc_nulldescriptor_unavailable_fix
xbzk/unreal-unsafe-junk-guards
xbzk/vk-etc2-format-list
xbzk/vulkan-vuid-goodies-pack
0.0.0
0.0.1-pre-alpha
0.0.2-pre-alpha
test-tag1
test-tag2
v0.0.3
v0.0.3-rc1
v0.0.3-rc2
v0.0.3-rc3
v0.0.3.git
v0.0.4
v0.0.4-rc1
v0.0.4-rc2
v0.0.4-rc2.test
v0.0.4-rc2.test2
v0.0.4-rc3
v0.0.4-rc3.test1
v0.0.4-rc3.test2
v0.0.4.test
v0.1.0
v0.1.0-rc1
v0.1.1
v0.2.0
v0.2.0-rc1
v0.2.0-rc2
v0.2.1
${ noResults }
4 Commits (2b02f29a2ddfe40639ea0f855bdf257beca59e65)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
ab6dfa4fa5
|
ring_buffer: Use std::atomic_size_t in a static assert
Avoids the need to repeat "std::" twice |
8 years ago |
|
|
c51f8563a6
|
ring_buffer: Use std::hardware_destructive_interference_size to determine alignment size for avoiding false sharing
MSVC 19.11 (A.K.A. VS 15.3)'s C++ standard library implements P0154R1 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0154r1.html) which defines two new constants within the <new> header, std::hardware_destructive_interference_size and std::hardware_constructive_interference_size. std::hardware_destructive_interference_size defines the minimum recommended offset between two concurrently-accessed objects to avoid performance degradation due to contention introduced by the implementation (with the lower-bound being at least alignof(max_align_t)). In other words, the minimum offset between objects necessary to avoid false-sharing. std::hardware_constructive_interference_size on the other hand defines the maximum recommended size of contiguous memory occupied by two objects accessed wth temporal locality by concurrent threads (also defined to be at least alignof(max_align_t)). In other words the maximum size to promote true-sharing. So we can simply use this facility to determine the ideal alignment size. Unfortunately, only MSVC supports this right now, so we need to enclose it within an ifdef for the time being. |
8 years ago |
|
|
63c2e32e20 |
Port #4182 from Citra: "Prefix all size_t with std::"
|
8 years ago |
|
|
112351d557 |
common: Implement a ring buffer
|
8 years ago |