I'm curious about generalizing tracking of resource consumption also. =)
My mind is elsewhere right now. Give me a day or so to transition back to this topic, and I'll have an answer for you.