Skip to main content

chronon::observe::simd

Functions

Name
uint64_tminNonZero(const uint64_t * data, size_t count)

Functions Documentation

function minNonZero

inline uint64_t minNonZero(
const uint64_t * data,
size_t count
)

Parameters:

  • data Array of uint64_t values
  • count Number of elements

Return: Minimum non-zero value, or UINT64_MAX if all values are zero

Compute the minimum non-zero value in an array of uint64_t.

Used for watermark calculation: finds the minimum cycle across all per-thread queues, skipping queues that never produced events (value == 0).


Updated on 2026-05-26 at 05:42:32 +0000