寻求数学库函数的基准测试程序
你好,我正在进行基准测试,需要比较不同数据类型之间的数学库函数。例如,比较双精度浮点数(doubles)与长双精度浮点数(long doubles)中的 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.