Profiling problem

Usage of VEX tools

Postby frb » Tue Sep 04, 2007 9:27 pm

To profile the application, use "-mas_G" (and read the book!)

The "-pg" option is not a VEX supported option; what probably happens is that you're passing "-pg" to the native gcc used for compiled simulation (which is what happens for all options not recognized by the frontend). Even if you can get it to link, you'll get a profile of the simulator, unlikely to be what you want...

-- Paolo
frb
 
Posts: 62
Joined: Thu Nov 12, 2009 3:44 pm

Postby frb » Wed Sep 26, 2007 7:00 am

Your program is really too simple for profiling. My guess is that execution time stays below the minimum threshold (in the order of usecs, can't recall the exact number). Try it on a larger program, such as one of the examples in the VEX distro.
frb
 
Posts: 62
Joined: Thu Nov 12, 2009 3:44 pm


Return to VEX Tools



Who is online

Users browsing this forum: No registered users and 0 guests

cron