GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
resource_usage Class Reference

#include "oct-time.h"

Collaboration diagram for resource_usage:

Public Member Functions

 resource_usage (const resource_usage &ru)
 
 resource_usage (void)
 
cpu_time cpu (void) const
 
long idrss (void) const
 
long inblock (void) const
 
long isrss (void) const
 
long ixrss (void) const
 
long majflt (void) const
 
long maxrss (void) const
 
long minflt (void) const
 
long msgrcv (void) const
 
long msgsnd (void) const
 
long nivcsw (void) const
 
long nsignals (void) const
 
long nswap (void) const
 
long nvcsw (void) const
 
resource_usageoperator= (const resource_usage &ru)
 
long oublock (void) const
 
OCTAVE_API void stamp (void)
 

Private Attributes

cpu_time m_cpu
 
long m_idrss
 
long m_inblock
 
long m_isrss
 
long m_ixrss
 
long m_majflt
 
long m_maxrss
 
long m_minflt
 
long m_msgrcv
 
long m_msgsnd
 
long m_nivcsw
 
long m_nsignals
 
long m_nswap
 
long m_nvcsw
 
long m_oublock
 

Detailed Description

Definition at line 443 of file oct-time.h.

Constructor & Destructor Documentation

◆ resource_usage() [1/2]

resource_usage::resource_usage ( void  )
inline

Definition at line 448 of file oct-time.h.

References stamp().

◆ resource_usage() [2/2]

resource_usage::resource_usage ( const resource_usage ru)
inline

Definition at line 457 of file oct-time.h.

Member Function Documentation

◆ cpu()

cpu_time resource_usage::cpu ( void  ) const
inline

Definition at line 495 of file oct-time.h.

References m_cpu.

◆ idrss()

long resource_usage::idrss ( void  ) const
inline

Definition at line 499 of file oct-time.h.

References m_idrss.

◆ inblock()

long resource_usage::inblock ( void  ) const
inline

Definition at line 504 of file oct-time.h.

References m_inblock.

◆ isrss()

long resource_usage::isrss ( void  ) const
inline

Definition at line 500 of file oct-time.h.

References m_isrss.

◆ ixrss()

long resource_usage::ixrss ( void  ) const
inline

Definition at line 498 of file oct-time.h.

References m_ixrss.

◆ majflt()

long resource_usage::majflt ( void  ) const
inline

Definition at line 502 of file oct-time.h.

References m_majflt.

◆ maxrss()

long resource_usage::maxrss ( void  ) const
inline

Definition at line 497 of file oct-time.h.

References m_maxrss.

◆ minflt()

long resource_usage::minflt ( void  ) const
inline

Definition at line 501 of file oct-time.h.

References m_minflt.

◆ msgrcv()

long resource_usage::msgrcv ( void  ) const
inline

Definition at line 507 of file oct-time.h.

References m_msgrcv.

◆ msgsnd()

long resource_usage::msgsnd ( void  ) const
inline

Definition at line 506 of file oct-time.h.

References m_msgsnd.

◆ nivcsw()

long resource_usage::nivcsw ( void  ) const
inline

Definition at line 510 of file oct-time.h.

References m_nivcsw.

◆ nsignals()

long resource_usage::nsignals ( void  ) const
inline

Definition at line 508 of file oct-time.h.

References m_nsignals.

◆ nswap()

long resource_usage::nswap ( void  ) const
inline

Definition at line 503 of file oct-time.h.

References m_nswap.

◆ nvcsw()

long resource_usage::nvcsw ( void  ) const
inline

Definition at line 509 of file oct-time.h.

References m_nvcsw.

◆ operator=()

resource_usage& resource_usage::operator= ( const resource_usage ru)
inline

◆ oublock()

long resource_usage::oublock ( void  ) const
inline

Definition at line 505 of file oct-time.h.

References m_oublock.

◆ stamp()

void resource_usage::stamp ( void  )

Member Data Documentation

◆ m_cpu

cpu_time resource_usage::m_cpu
private

Definition at line 514 of file oct-time.h.

Referenced by cpu(), operator=(), and stamp().

◆ m_idrss

long resource_usage::m_idrss
private

Definition at line 518 of file oct-time.h.

Referenced by idrss(), operator=(), and stamp().

◆ m_inblock

long resource_usage::m_inblock
private

Definition at line 523 of file oct-time.h.

Referenced by inblock(), operator=(), and stamp().

◆ m_isrss

long resource_usage::m_isrss
private

Definition at line 519 of file oct-time.h.

Referenced by isrss(), operator=(), and stamp().

◆ m_ixrss

long resource_usage::m_ixrss
private

Definition at line 517 of file oct-time.h.

Referenced by ixrss(), operator=(), and stamp().

◆ m_majflt

long resource_usage::m_majflt
private

Definition at line 521 of file oct-time.h.

Referenced by majflt(), operator=(), and stamp().

◆ m_maxrss

long resource_usage::m_maxrss
private

Definition at line 516 of file oct-time.h.

Referenced by maxrss(), operator=(), and stamp().

◆ m_minflt

long resource_usage::m_minflt
private

Definition at line 520 of file oct-time.h.

Referenced by minflt(), operator=(), and stamp().

◆ m_msgrcv

long resource_usage::m_msgrcv
private

Definition at line 526 of file oct-time.h.

Referenced by msgrcv(), operator=(), and stamp().

◆ m_msgsnd

long resource_usage::m_msgsnd
private

Definition at line 525 of file oct-time.h.

Referenced by msgsnd(), operator=(), and stamp().

◆ m_nivcsw

long resource_usage::m_nivcsw
private

Definition at line 529 of file oct-time.h.

Referenced by nivcsw(), operator=(), and stamp().

◆ m_nsignals

long resource_usage::m_nsignals
private

Definition at line 527 of file oct-time.h.

Referenced by nsignals(), operator=(), and stamp().

◆ m_nswap

long resource_usage::m_nswap
private

Definition at line 522 of file oct-time.h.

Referenced by nswap(), operator=(), and stamp().

◆ m_nvcsw

long resource_usage::m_nvcsw
private

Definition at line 528 of file oct-time.h.

Referenced by nvcsw(), operator=(), and stamp().

◆ m_oublock

long resource_usage::m_oublock
private

Definition at line 524 of file oct-time.h.

Referenced by operator=(), oublock(), and stamp().


The documentation for this class was generated from the following files: