Add print-rusage-self to fish

This adds an option --print-rusage-self to the fish executable. When set,
this option prints some getrusage stats to the console in a human-readable
way. This will be used by upcoming benchmarking support.
This commit is contained in:
ridiculousfish
2019-04-10 13:58:29 -07:00
parent 25dd22242d
commit b6555a0dc4
4 changed files with 49 additions and 0 deletions

View File

@@ -31,6 +31,9 @@
/* Define to 1 if you have the `getpwent' function. */
#cmakedefine HAVE_GETPWENT 1
/* Define to 1 if you have the 'getrusage' function. */
#cmakedefine HAVE_GETRUSAGE 1
/* Define to 1 if you have the `gettext' function. */
#cmakedefine HAVE_GETTEXT 1