mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 811553 - Only count major page faults when possible (r=terrence)
This commit is contained in:
parent
629c39229c
commit
51374d6014
@ -390,7 +390,7 @@ GetPageFaultCount()
|
||||
int err = getrusage(RUSAGE_SELF, &usage);
|
||||
if (err)
|
||||
return 0;
|
||||
return usage.ru_minflt + usage.ru_majflt;
|
||||
return usage.ru_majflt;
|
||||
}
|
||||
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user