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

#include "oct-time.h"

Public Member Functions

 cpu_time ()
 
void stamp ()
 
double system () const
 
OCTAVE_TIME_T system_sec () const
 
long system_usec () const
 
double user () const
 
OCTAVE_TIME_T user_sec () const
 
long user_usec () const
 

Friends

class resource_usage
 

Detailed Description

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

Constructor & Destructor Documentation

◆ cpu_time()

cpu_time::cpu_time ( )
inline

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

References resource_usage::stamp().

Member Function Documentation

◆ stamp()

void cpu_time::stamp ( )

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

References octave_cpu_time().

◆ system()

double cpu_time::system ( ) const
inline

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

◆ system_sec()

OCTAVE_TIME_T cpu_time::system_sec ( ) const
inline

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

◆ system_usec()

long cpu_time::system_usec ( ) const
inline

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

◆ user()

double cpu_time::user ( ) const
inline

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

◆ user_sec()

OCTAVE_TIME_T cpu_time::user_sec ( ) const
inline

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

◆ user_usec()

long cpu_time::user_usec ( ) const
inline

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

Friends And Related Function Documentation

◆ resource_usage

friend class resource_usage
friend

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


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