// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include "default.h" /* Macros to gather statistics */ #ifdef EMBREE_STAT_COUNTERS #define STAT … #define STAT3 … #define STAT_USER … #else #define STAT(x) … #define STAT3(s,x,y,z) … #define STAT_USER(i,x) … #endif namespace embree { /*! Gathers ray tracing statistics. We count 1) how often a code * location is reached, 2) how many SIMD lanes are active, 3) how * many SIMD lanes reach the code location */ class Stat { … }; }