trace-generators/traces/implementation/WarpSynchronousGenerator.cpp
void trace::WarpSynchronousGenerator::finish() {

	report("WarpSynchronousGenerator::finish()");

	// always update database and emit results as JSON
	outputSynchronousStatistics();

	if (TraceConfiguration::Singleton.warpSynchronous.emitHotPaths) {
		// emit DOT files
		for (std::vector<int>::const_iterator ws_it = warpSizes.begin();
			ws_it != warpSizes.end(); ++ws_it) {
			int warpSize = *ws_it;
			report("  outputting hot paths - ws: " << warpSize);
			outputHotPaths(warpSize);
		}
	}
}
/*!	\brief Finalize the trace and dump the results to disk.
	
	Add a databse entry for the trace as well.
*/
\brief Finalize the trace and dump the results to disk.
Add a databse entry for the trace as well.
\ brief Finalize the trace and dump the results to disk . Add a databse entry for the trace as well .
void trace::WarpSynchronousGenerator::finish() {
	report("WarpSynchronousGenerator::finish()");
	outputSynchronousStatistics();
	if (TraceConfiguration::Singleton.warpSynchronous.emitHotPaths) {
		for (std::vector<int>::const_iterator ws_it = warpSizes.begin();
			ws_it != warpSizes.end(); ++ws_it) {
			int warpSize = *ws_it;
			report("  outputting hot paths - ws: " << warpSize);
			outputHotPaths(warpSize);
		}
	}
}
void trace :: WarpSynchronousGenerator :: finish ( ) { report ( " " ) ; outputSynchronousStatistics ( ) ; if ( TraceConfiguration :: Singleton . warpSynchronous . emitHotPaths ) { for ( std :: vector < int > :: const_iterator ws_it = warpSizes . begin ( ) ; ws_it != warpSizes . end ( ) ; ++ ws_it ) { int warpSize = * ws_it ; report ( " " << warpSize ) ; outputHotPaths ( warpSize ) ; } } }
\brief Finalize the trace and dump the results to disk.
\ brief Finalize the trace and dump the results to disk .
// always update database and emit results as JSON // emit DOT files