Ghostscript has the debug option INITDEBUG which outputs this:
END PROCS 0 1523912 211486 1330832 36164 true 662 3 <0>
gs_std_e.ps 0 1523912 217533 1330832 38644 true 670 3 <0>
gs_il1_e.ps 0 1523912 222799 1330832 38644 true 671 3 <0>
END FONTDIR/ENCS 0 1523912 223027 1330832 38644 true 673 3 <0>
END DEVS 0 1593776 305009 1330832 38644 true 677 3 <0>
END STATD 0 1613976 322087 1330832 41524 true 682 3 <0>
END GS_FONTS 0 1664328 378150 1330832 41524 true 711 3 <0>
END BASIC COLOR 0 1704728 391377 1330832 41524 true 727 3 <0>
...
Unfortunately, I didn't find any information about the format of the output. Does anyone know what all of these values mean?