Files
salmanoff/include/user/intrin.h
T
hayodea 632a227985 DAPS: Add intrin specs to nontrin specs
We no longer do intrin specs as a separate stimbuff; rather now we
do them as a specifier segment within the pipeline spec of a normal
nontrin spec.
2026-04-18 12:02:27 -04:00

25 lines
583 B
C++

#ifndef SMO_USER_INTRIN_H
#define SMO_USER_INTRIN_H
#include <cstdint>
namespace smo {
namespace intrin {
/* Generic intrin threshold pair. 'percentage' holds the raw percentage value
* (0-100) when the user specified the threshold in percentage form, else 0.
* 'threshold' is always the resolved absolute count (computed against the
* relevant capacity parameter, e.g. nDgramsPerFrame, when the input was
* percentage-based).
*/
struct IntrinConfig
{
uint32_t percentage;
uint32_t threshold;
};
} // namespace intrin
} // namespace smo
#endif // SMO_USER_INTRIN_H