doc: add documentation for getrusage