This adds a simple mechanism for capture runtime system statistics from compiler invocations. It's pretty crude, but should nevertheless be useful.