Bug 811553 - Only count major page faults when possible (r=terrence)

This commit is contained in:
Bill McCloskey 2012-11-13 17:14:57 -08:00
parent 629c39229c
commit 51374d6014

View File

@ -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