mbltmlProcessInfo_t Struct Reference

mbltmlProcessInfo_t Struct Reference#

mbltml: mbltmlProcessInfo_t Struct Reference
mbltml Test Preview
mbltml — EN
mbltmlProcessInfo_t Struct Reference

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

#include <type.h>

Public Attributes

int pid = -1
int counts = -1
int64_t npu_memory_usage = 0
int64_t total_interval_us = 0
int64_t total_npu_time_us = 0

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 117 of file type.h.

Member Data Documentation

◆ pid

int mbltmlProcessInfo_t::pid = -1

Process ID.

Definition at line 118 of file type.h.

◆ counts

int mbltmlProcessInfo_t::counts = -1

NPU sample count for the process.

Definition at line 119 of file type.h.

◆ npu_memory_usage

int64_t mbltmlProcessInfo_t::npu_memory_usage = 0

Device memory used by the process (bytes).

Definition at line 120 of file type.h.

◆ total_interval_us

int64_t mbltmlProcessInfo_t::total_interval_us = 0

Total sampling interval (microseconds).

Definition at line 121 of file type.h.

◆ total_npu_time_us

int64_t mbltmlProcessInfo_t::total_npu_time_us = 0

Total NPU active time (microseconds).

Definition at line 122 of file type.h.


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