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

Member Data Documentation

◆ ru_majflt

int rusage::ru_majflt

Definition at line 90 of file compat_shared.h.

Referenced by rusage_pagefaults(), and squid_getrusage().

◆ ru_maxrss

int rusage::ru_maxrss

Definition at line 89 of file compat_shared.h.

Referenced by rusage_maxrss(), and squid_getrusage().

◆ ru_stime

struct timeval rusage::ru_stime

Definition at line 87 of file compat_shared.h.

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

◆ ru_utime

struct timeval rusage::ru_utime

Definition at line 88 of file compat_shared.h.

Referenced by 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