Skip to content

mbltmlProcessInfo_t

#include <mbltml/type.h>

struct mbltmlProcessInfo_t

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.

Attributes

Member Description
pid
counts
npu_memory_usage
total_interval_us
total_npu_time_us

pid

int pid

Process ID.

counts

int counts

NPU sample count for the process.

npu_memory_usage

int64_t npu_memory_usage

Device memory used by the process (bytes).

total_interval_us

int64_t total_interval_us

Total sampling interval (microseconds).

total_npu_time_us

int64_t total_npu_time_us

Total NPU active time (microseconds).