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

#include "oct-time.h"

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ resource_usage()

resource_usage::resource_usage ( )
inline

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

References stamp().

Member Function Documentation

◆ cpu()

cpu_time resource_usage::cpu ( ) const
inline

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

◆ idrss()

long resource_usage::idrss ( ) const
inline

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

◆ inblock()

long resource_usage::inblock ( ) const
inline

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

◆ isrss()

long resource_usage::isrss ( ) const
inline

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

◆ ixrss()

long resource_usage::ixrss ( ) const
inline

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

◆ majflt()

long resource_usage::majflt ( ) const
inline

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

◆ maxrss()

long resource_usage::maxrss ( ) const
inline

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

◆ minflt()

long resource_usage::minflt ( ) const
inline

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

◆ msgrcv()

long resource_usage::msgrcv ( ) const
inline

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

◆ msgsnd()

long resource_usage::msgsnd ( ) const
inline

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

◆ nivcsw()

long resource_usage::nivcsw ( ) const
inline

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

◆ nsignals()

long resource_usage::nsignals ( ) const
inline

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

◆ nswap()

long resource_usage::nswap ( ) const
inline

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

◆ nvcsw()

long resource_usage::nvcsw ( ) const
inline

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

◆ oublock()

long resource_usage::oublock ( ) const
inline

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

◆ stamp()

void resource_usage::stamp ( )

Definition at line 360 of file oct-time.cc.

References octave_getrusage_wrapper().

Referenced by cpu_time::cpu_time(), and resource_usage().


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