rusage Struct Reference
#include <compat_shared.h>

Public Attributes | |
| struct timeval | ru_stime |
| struct timeval | ru_utime |
| int | ru_maxrss |
| int | ru_majflt |
Detailed Description
If we don't have getrusage() then we create a fake structure with only the fields Squid cares about. This just makes the source code cleaner, so we don't need lots of ifdefs in other places
Definition at line 86 of file compat_shared.h.
Member Data Documentation
Definition at line 90 of file compat_shared.h.
Referenced by print_stats(), and rusage_pagefaults().
Definition at line 89 of file compat_shared.h.
Referenced by print_stats(), and rusage_maxrss().
| struct timeval rusage::ru_stime |
Definition at line 87 of file compat_shared.h.
Referenced by print_stats(), PrintRusage(), and rusage_cputime().
| struct timeval rusage::ru_utime |
Definition at line 88 of file compat_shared.h.
Referenced by print_stats(), PrintRusage(), and rusage_cputime().
The documentation for this struct was generated from the following file:
- compat/compat_shared.h
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out
- Getting Squid
- Donate
- Squid Deployment Case-Studies
Documentation
- FAQ | Wiki | Book
- Configuration Reference
- Configuration Guide - Visolve
- Configuration Examples
- Users guide
- Non-English
- Security Advisories
- More...
Support
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
