LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
lf::base::Timer::cpu_times Struct Reference

Packages the elapsed wall clock time, user process CPU time, and system process CPU time. More...

#include <lf/base/timer.h>

Public Attributes

std::chrono::nanoseconds wall
 Elapsed WallClock time in nano-seconds.
 
std::chrono::nanoseconds user
 Elapsed User time in nano-seconds.
 
std::chrono::nanoseconds system
 Elapsed System time in nano-seconds.
 

Detailed Description

Packages the elapsed wall clock time, user process CPU time, and system process CPU time.

Definition at line 70 of file timer.h.

Member Data Documentation

◆ system

std::chrono::nanoseconds lf::base::Timer::cpu_times::system

Elapsed System time in nano-seconds.

System process time is "the CPU time charged for execution by the system on behalf of the calling process. In multithreaded code, system time can be higher than wall clock time.

Definition at line 93 of file timer.h.

Referenced by lf::base::Timer::Elapsed(), lf::base::Timer::Resume(), and lf::base::Timer::Stop().

◆ user

std::chrono::nanoseconds lf::base::Timer::cpu_times::user

Elapsed User time in nano-seconds.

User process time is "the CPU time charged for the execution of user instructions of the calling process. It can be higher than wall clock time in multithreaded code.

Definition at line 85 of file timer.h.

Referenced by lf::base::Timer::Elapsed(), lf::base::Timer::Resume(), and lf::base::Timer::Stop().

◆ wall

std::chrono::nanoseconds lf::base::Timer::cpu_times::wall

Elapsed WallClock time in nano-seconds.

Wall clock time is time as would be measured by an ordinary wristwatch or clock on the wall.

Definition at line 77 of file timer.h.

Referenced by lf::base::Timer::Elapsed(), lf::base::Timer::Resume(), and lf::base::Timer::Stop().


The documentation for this struct was generated from the following file: