18 void noteInput() { (void) _input.fetch_add(1, std::memory_order_relaxed); }
20 void noteDropped() { (void) _dropped.fetch_add(1, std::memory_order_relaxed); }
29 void noteTiledDrop() { (void) _tiledDrops.fetch_add(1, std::memory_order_relaxed); }
31 quint64
input()
const {
return _input.load(std::memory_order_relaxed); }
33 quint64
dropped()
const {
return _dropped.load(std::memory_order_relaxed); }
35 quint64
delivered()
const {
return _delivered.load(std::memory_order_relaxed); }
39 return _pathFrames[
static_cast<std::size_t
>(path)].load(std::memory_order_relaxed);
46 std::atomic<quint64> _input{0};
47 std::atomic<quint64> _dropped{0};
49 std::atomic<quint64> _delivered{0};
51 std::atomic<quint64> _gpuFallbacks{0};
52 std::atomic<quint64> _streamDemotions{0};
53 std::atomic<quint64> _tiledDrops{0};
54 std::atomic<quint64> _superseded{0};
58 mutable QMutex _deliveryMutex;