rusage Struct Reference

#include <compat_shared.h>

Collaboration diagram for rusage:

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 104 of file compat_shared.h.

Member Data Documentation

int rusage::ru_majflt

Definition at line 108 of file compat_shared.h.

Referenced by print_stats(), rusage_pagefaults(), and squid_getrusage().

int rusage::ru_maxrss

Definition at line 107 of file compat_shared.h.

Referenced by print_stats(), rusage_maxrss(), and squid_getrusage().

struct timeval rusage::ru_stime

Definition at line 105 of file compat_shared.h.

Referenced by print_stats(), PrintRusage(), rusage_cputime(), and squid_getrusage().

struct timeval rusage::ru_utime

Definition at line 106 of file compat_shared.h.

Referenced by print_stats(), PrintRusage(), rusage_cputime(), and squid_getrusage().


The documentation for this struct was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors