liberty/support/FullLoopProf/FullLoopProf.cpp
/* Finish up the profiler, print profile
 */
Finish up the profiler, print profile
Finish up the profiler print profile
void loopProfFinish(void)
{
  ofstream f;
  f.open("loopProf.out");
  for(int i = 0; i < gnumLoops; ++i)
  {
    f << i << " " << loopCounts[i] << endl;
  }
  f.close();
  free(loopCounts);
}
void loopProfFinish ( void ) { ofstream f ; f . open ( " " ) ; for ( int i = 0 ; i < gnumLoops ; ++ i ) { f << i << " " << loopCounts [ i ] << endl ; } f . close ( ) ; free ( loopCounts ) ; }
Finish up the profiler, print profile
Finish up the profiler print profile