struct

CMiriHitTestStats

Counts the work a pointer hit test does, so the grid below can be judged with numbers instead of hope. Enabled through miri.HitTest.Stats; the counters are plain relaxed atomics and cost nothing while the flag is off.

Module
Miri
Header
#include "Miri/Core/CMiriHitTestGrid.h"
Namespace
Miri

Public functions

ReturnsNameDescription
std::atomic<uint64_t>&Tests
std::atomic<uint64_t>&Queries
std::atomic<bool>&Enabled
std::atomic<uint64_t>&Mismatches
voidReset

Function details

Tests

C++
static std::atomic<uint64_t>& Tests()

Queries

C++
static std::atomic<uint64_t>& Queries()

Enabled

C++
static std::atomic<bool>& Enabled()

Mismatches

C++
static std::atomic<uint64_t>& Mismatches()

Reset

C++
static void Reset()
Generated from Miri/Core/CMiriHitTestGrid.h via miri.json · Dec 5, 2026Version 1.1.0