PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
perf_thread_ctx_t Struct Reference

Per-Thread performance context. More...

#include <perf.h>

Collaboration diagram for perf_thread_ctx_t:

Data Fields

clock_t syscallBegin
 The time the current syscall began. Also used to "skip" time spent in interrupts.
 
clock_t syscallEnd
 

Detailed Description

Per-Thread performance context.

The thread context tracks tracks the time it spends in and outside of system calls, this is then accumulated into the process performance context.

Definition at line 77 of file perf.h.

Field Documentation

◆ syscallBegin

clock_t perf_thread_ctx_t::syscallBegin

The time the current syscall began. Also used to "skip" time spent in interrupts.

Definition at line 79 of file perf.h.

◆ syscallEnd

clock_t perf_thread_ctx_t::syscallEnd

Definition at line 80 of file perf.h.


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