Export TotalAlloc as a runtime metric