How can I output the Devel query log?
The devel module has an option to log the query times into the database, and you can then run your own analysis on this and do whatever you like with it. 

This is something to be careful about as it is a lot of data and can add up quickly. However, for more sophisticated/aggregate analysis, it's quite useful. 

After enabling query logging, you can see some results at http://yoursite.com/devel/queries