GNU Octave 11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
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 361 of file oct-time.h.

Constructor & Destructor Documentation

◆ cpu_time()

cpu_time::cpu_time ( )
inline

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

References stamp().

Member Function Documentation

◆ stamp()

void cpu_time::stamp ( )

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

References octave_cpu_time().

Referenced by cpu_time().

◆ system()

double cpu_time::system ( ) const
inline

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

◆ system_sec()

OCTAVE_TIME_T cpu_time::system_sec ( ) const
inline

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

◆ system_usec()

long cpu_time::system_usec ( ) const
inline

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

◆ user()

double cpu_time::user ( ) const
inline

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

◆ user_sec()

OCTAVE_TIME_T cpu_time::user_sec ( ) const
inline

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

◆ user_usec()

long cpu_time::user_usec ( ) const
inline

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

Friends And Related Symbol Documentation

◆ resource_usage

friend class resource_usage
friend

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


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