| 356 | } |
| 357 | |
| 358 | void |
| 359 | CpuStatTimer::Print( ) |
| 360 | { |
| 361 | //double flops = fFunc( ); |
| 362 | |
| 363 | //for( cl_uint i = 0; i < labelID.size( ); ++i ) |
| 364 | //{ |
| 365 | // double timeNs = getAverageTime( i ); |
| 366 | // double gFlops = flops / timeNs; |
| 367 | |
| 368 | // std::cout << labelID[ i ].first << std::endl; |
| 369 | // tout << std::setw( 10 ) << "Time:" << std::setw( 10 ) << commatize( static_cast< cl_ulong >( timeNs ) ) |
| 370 | // << " ns" << std::endl; |
| 371 | // tout << std::setw( 10 ) << "Gflops:" << std::setw( 10 ) << gFlops << std::endl; |
| 372 | //} |
| 373 | } |
| 374 | |
| 375 | // Defining an output print operator |
| 376 | std::ostream& |