ΒΆdouble computeBlockRThroughput(
const llvm::MCSchedModel& SM,
unsigned int DispatchWidth,
unsigned int NumMicroOps,
ArrayRef<unsigned int> ProcResourceUsage)
double computeBlockRThroughput(
const llvm::MCSchedModel& SM,
unsigned int DispatchWidth,
unsigned int NumMicroOps,
ArrayRef<unsigned int> ProcResourceUsage)
Description
Compute the reciprocal block throughput from a set of processor resource cycles. The reciprocal block throughput is computed as the MAX between: - NumMicroOps / DispatchWidth - ProcResourceCycles / #ProcResourceUnits (for every consumed resource).
Declared at: llvm/include/llvm/MCA/Support.h:108
Parameters
- const llvm::MCSchedModel& SM
- unsigned int DispatchWidth
- unsigned int NumMicroOps
- ArrayRef<unsigned int> ProcResourceUsage