pub fn record_queue_enqueue(current_depth: u64)
Record a task enqueue, updating counters and high-water mark.