MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / percentile

Function percentile

src/program.cpp:893–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893static double percentile(const std::vector<double>& v, double percentile)
894{
895 size_t index = (percentile * (v.size() - 1));
896 return v[index];
897}
898
899static std::string perf_group(instruction_ref ins, bool detailed)
900{

Callers 1

perf_reportMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected