我是从qt-base开始编译的。我构建了一个测试(tst_qdom),并在执行时得到了一个错误。这是土地退化和干旱的结果:
ldd测试/auto/xml/dom/qdom/tst_qdom
**tests/auto/xml/dom/qdom/tst_qdom: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by tests/auto/xml/dom/qdom/tst_qdom)
tests/auto/xml/dom/qdom/tst_qdom: /usr/lib
如果我有一个函数foo,我想描述它的“用户”时间(删除内核或其他进程时间),我如何用代码(C/C++)来度量它?
我知道以下职能:
Windows
QueryPerformanceCounter
GetProcessTimes
Linux
日复一日
《时代》
钟
还有其他方法吗?每一个都提供了一个不同的时间‘观点’,而非真正提供准确的结果。