PatchworkOS  28a9544
A non-POSIX operating system.
Loading...
Searching...
No Matches
perf_process_ctx_t Struct Reference

#include <perf.h>

Public Member Functions

 _Atomic (clock_t) userClocks
 Total user mode CPU time used by this process.
 
 _Atomic (clock_t) kernelClocks
 Total kernel mode CPU time used by this process, does not include interrupt time.
 

Data Fields

clock_t startTime
 The time when the process was started.
 

Detailed Description

Definition at line 62 of file perf.h.

Member Function Documentation

◆ _Atomic() [1/2]

perf_process_ctx_t::_Atomic ( clock_t  )

Total kernel mode CPU time used by this process, does not include interrupt time.

◆ _Atomic() [2/2]

perf_process_ctx_t::_Atomic ( clock_t  )

Total user mode CPU time used by this process.

Field Documentation

◆ startTime

clock_t perf_process_ctx_t::startTime

The time when the process was started.

Definition at line 67 of file perf.h.

Referenced by perf_process_ctx_init(), and process_stat_read().


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