Title: | OSF/1 AXP Performance Tuning |
Moderator: | AOSG::USILTON |
Created: | Mon Sep 13 1993 |
Last Modified: | Tue Apr 15 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 115 |
Total number of notes: | 398 |
I have a program which when runs faults excessively. I wanted to try and pinpoint where in the program the faulting was occuring. Is there a system call I can make from within the program which will tell me how many pagefaults I have taken (similar to setitimer and getitimer for CPU time)? Karen
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
112.1 | atom -hiprof might do the job for you | MSBCS::SCHNEIDER | individually twisted | Fri Jan 31 1997 09:04 | 7 |
Hi, Karen, just passing through and thought I would mention that atom can make a pagefault profile, at least down to the routine level. Take a look at "man hiprof" in particular - the pagefault incantation goes somewhere in a -toolargs clause, I think. Cheers, Chuck | |||||
112.2 | NABETH::alan | Dr. File System's Home for Wayward Inodes. | Fri Jan 31 1997 14:53 | 5 | |
See also: getrusage(3), notably the fields: long ru_minflt; /* page reclaims */ long ru_majflt; /* page faults */ long ru_nswap; /* swaps */ |