rusage Struct Reference

#include <compat_shared.h>

Collaboration diagram for rusage:

List of all members.

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:

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors