寻找数学库函数的基准测试程序。
2 分•作者: newbie-02•9 个月前
您好,我目前从事基准测试工作,需要比较不同数据类型下数学库函数的性能。例如,比较双精度浮点数(double)和扩展精度浮点数(long double)的 pow( x, y ) 函数,也想涵盖十进制数据类型。我认为这应该介于“每秒浮点运算次数”(FLOPS)和“应用程序”之间。实际上,我正在使用自制的迭代循环,并通过 rdtscp() 指令进行计时,效果还不错,可以测量“吞吐量”。但我很好奇是否有类似的标准化解决方案,以便与其他结果进行比较,并实现“吞吐量”和“延迟”的标准化区分。感谢您的帮助。
查看原文
hi, I'm working in benchmarking and need to compare math library functions between different datatypes. E.g. pow( x, y ) in doubles vs. long doubles, want to cover also decimal datatypes. Think that's somewhere between "FLOPS" and "application". Actually I'm working with a homebrew iterating loop and timing with rdtscp(), it works quite good, for "throughput", however I'm curious if similar is available as standardized solution to gain comparability to other results, and get a standardized split in "throughput" vs. "latency". TIA for any help.