Unravel Engine C++ Reference
Loading...
Searching...
No Matches
trace_resolution.h File Reference
#include <base/basetypes.hpp>
#include <algorithm>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  unravel
 

Enumerations

enum class  unravel::trace_resolution : uint8_t { unravel::full = 1 , unravel::half = 2 , unravel::quarter = 4 , unravel::eighth = 8 }
 

Functions

auto unravel::get_divisor (trace_resolution res) -> uint32_t
 Returns the integer divisor backing the enum value (never zero).
 
auto unravel::compute_trace_size (const usize32_t &ref, trace_resolution res) -> usize32_t
 Computes the trace-target size from a full-resolution reference, clamped to 1x1 min.