mbltmlProcessInfo_t Struct Reference

mbltmlProcessInfo_t Struct Reference#

mbltml: mbltmlProcessInfo_t Struct Reference
mbltml v1.4
mbltml — KR
mbltmlProcessInfo_t Struct Reference

Per-process usage record returned by mbltmlGetProcessInfos(). More...

#include <type.h>

Public Attributes

int pid
int counts
int64_t npu_memory_usage
int64_t total_interval_us
int64_t total_npu_time_us

Detailed Description

Per-process usage record returned by mbltmlGetProcessInfos().

Utilization for the process can be computed as total_npu_time_us / total_interval_us when total_interval_us is non-zero.

Definition at line 128 of file type.h.

Member Data Documentation

◆ pid

int mbltmlProcessInfo_t::pid

Process ID.

Definition at line 129 of file type.h.

◆ counts

int mbltmlProcessInfo_t::counts

NPU sample count for the process.

Definition at line 130 of file type.h.

◆ npu_memory_usage

int64_t mbltmlProcessInfo_t::npu_memory_usage

Device memory used by the process (bytes).

Definition at line 131 of file type.h.

◆ total_interval_us

int64_t mbltmlProcessInfo_t::total_interval_us

Total sampling interval (microseconds).

Definition at line 132 of file type.h.

◆ total_npu_time_us

int64_t mbltmlProcessInfo_t::total_npu_time_us

Total NPU active time (microseconds).

Definition at line 133 of file type.h.


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