MCPcopy Create free account
hub / github.com/Xilinx/Vitis_Libraries / showTimeData

Function showTimeData

blas/L2/src/memKernel/sw/main.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86typedef std::chrono::time_point<std::chrono::high_resolution_clock> TimePointType;
87
88void showTimeData(std::string p_Task, TimePointType& t1, TimePointType& t2) {
89 t2 = std::chrono::high_resolution_clock::now();
90 std::chrono::duration<double> l_durationSec = t2 - t1;
91 std::cout << " DATA: time " << p_Task << " " << std::fixed << std::setprecision(6) << l_durationSec.count() * 1e3
92 << " msec\n";
93}
94
95int main(int argc, char** argv) {
96 if (argc < 3) {

Callers 2

mainFunction · 0.70
mainFunction · 0.70

Calls 1

countMethod · 0.80

Tested by

no test coverage detected