你如何计算运行 C++ 的时间?

问题描述

你如何计算时间运行应用程序 C++ 来合成时间 00:00:00?

g++.exe -fopt-info-all=all.optrpt -O3  -fopenmp -fopenmp-simd -mthreads -mavx -fmax-errors=5   -c gcc_ompsimd_test.cpp -Fo:gcc_ompsimd_test.o
gcc_ompsimd_test.cpp:65:46: error: expected unqualified-id before 'this'
  #pragma omp declare simd simdlen(4) uniform(this)
                                              ^~~~
gcc_ompsimd_test.cpp:66:46: error: expected unqualified-id before 'this'
  #pragma omp declare simd simdlen(8) uniform(this)
                                              ^~~~
gcc_ompsimd_test.cpp:67:47: error: expected unqualified-id before 'this'
  #pragma omp declare simd simdlen(16) uniform(this)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)