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

#include "oct-time.h"

Collaboration diagram for octave::sys::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
 
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 451 of file oct-time.h.

Constructor & Destructor Documentation

◆ resource_usage() [1/2]

octave::sys::resource_usage::resource_usage ( void  )
inline

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

◆ resource_usage() [2/2]

octave::sys::resource_usage::resource_usage ( const resource_usage ru)
inline

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

Member Function Documentation

◆ cpu()

cpu_time octave::sys::resource_usage::cpu ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ idrss()

long octave::sys::resource_usage::idrss ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ inblock()

long octave::sys::resource_usage::inblock ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ isrss()

long octave::sys::resource_usage::isrss ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ ixrss()

long octave::sys::resource_usage::ixrss ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ majflt()

long octave::sys::resource_usage::majflt ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ maxrss()

long octave::sys::resource_usage::maxrss ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ minflt()

long octave::sys::resource_usage::minflt ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ msgrcv()

long octave::sys::resource_usage::msgrcv ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ msgsnd()

long octave::sys::resource_usage::msgsnd ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ nivcsw()

long octave::sys::resource_usage::nivcsw ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ nsignals()

long octave::sys::resource_usage::nsignals ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ nswap()

long octave::sys::resource_usage::nswap ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ nvcsw()

long octave::sys::resource_usage::nvcsw ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ operator=()

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

◆ oublock()

long octave::sys::resource_usage::oublock ( void  ) const
inline

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

Referenced by Fgetrusage().

◆ stamp()

void octave::sys::resource_usage::stamp ( void  )

Member Data Documentation

◆ m_cpu

cpu_time octave::sys::resource_usage::m_cpu
private

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

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

◆ m_idrss

long octave::sys::resource_usage::m_idrss
private

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

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

◆ m_inblock

long octave::sys::resource_usage::m_inblock
private

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

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

◆ m_isrss

long octave::sys::resource_usage::m_isrss
private

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

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

◆ m_ixrss

long octave::sys::resource_usage::m_ixrss
private

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

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

◆ m_majflt

long octave::sys::resource_usage::m_majflt
private

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

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

◆ m_maxrss

long octave::sys::resource_usage::m_maxrss
private

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

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

◆ m_minflt

long octave::sys::resource_usage::m_minflt
private

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

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

◆ m_msgrcv

long octave::sys::resource_usage::m_msgrcv
private

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

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

◆ m_msgsnd

long octave::sys::resource_usage::m_msgsnd
private

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

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

◆ m_nivcsw

long octave::sys::resource_usage::m_nivcsw
private

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

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

◆ m_nsignals

long octave::sys::resource_usage::m_nsignals
private

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

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

◆ m_nswap

long octave::sys::resource_usage::m_nswap
private

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

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

◆ m_nvcsw

long octave::sys::resource_usage::m_nvcsw
private

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

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

◆ m_oublock

long octave::sys::resource_usage::m_oublock
private

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

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


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