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

Per-Thread performance context. More...

#include <perf.h>

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.

Referenced by perf_interrupt_begin(), perf_interrupt_end(), perf_syscall_begin(), perf_syscall_end(), and perf_thread_ctx_init().

◆ syscallEnd

clock_t perf_thread_ctx_t::syscallEnd

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