Make usage() return all rusage fields directly, and rename getusertime() to getsystemtime(). #3

Merged
merged 1 commit into from Nov 11, 2011

Conversation

Projects
None yet
2 participants
Contributor

sethml commented Nov 11, 2011

The getusertime call was pretty confusing, since it didn't return user time at all.

Also, it seems a bit more obvious for usage() to simply return exactly what getrusage returns.

Presumably there aren't too many uses out there this would break, but if you'd prefer a backwards-compatible change, I suppose I could do that.

@davglass davglass added a commit that referenced this pull request Nov 11, 2011

@davglass davglass Merge pull request #3 from humcycles/feature/system-terminology
Make usage() return all rusage fields directly, and rename getusertime() to getsystemtime().
7e92321

@davglass davglass merged commit 7e92321 into davglass:master Nov 11, 2011

Owner

davglass commented Nov 11, 2011

Merged and bumped the version to 0.2.0 since it's an API change, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment