Created
February 6, 2020 09:59
-
-
Save TheBits/4dbe5c5a3f7309617ce9bd74fd03043d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff -- util | |
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
modified: util/datetime/cputimer.cpp | |
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
@ util/datetime/cputimer.cpp:17 @ | |
#include <sys/resource.h> | |
#include <sys/param.h> | |
#if !defined(_cygwin_) && !defined(_android_) | |
#include <sys/sysctl.h> | |
#endif | |
#else | |
#if defined(_win_) | |
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
modified: util/system/info.cpp | |
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
@ util/system/info.cpp:31 @ static int getloadavg(double* loadavg, int nelem) { | |
} | |
#elif defined(_unix_) || defined(_darwin_) | |
#include <sys/types.h> | |
#include <sys/sysctl.h> | |
#endif | |
#include <util/generic/yexception.h> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment