Added hooks for recording proc usage statistics