#[repr(C)]pub struct _cef_task_info_t {
pub size: usize,
pub id: i64,
pub type_: cef_task_type_t,
pub is_killable: c_int,
pub title: cef_string_t,
pub cpu_usage: f64,
pub number_of_processors: c_int,
pub memory: i64,
pub gpu_memory: i64,
pub is_gpu_memory_inflated: c_int,
}Expand description
Structure representing task information provided by CefTaskManager.
Fields§
§size: usizeSize of this structure.
id: i64The task ID.
type_: cef_task_type_tThe task type.
is_killable: c_intSet to true (1) if the task is killable.
title: cef_string_tThe task title.
cpu_usage: f64The CPU usage of the process on which the task is running. The value is in the range zero to number_of_processors * 100%.
number_of_processors: c_intThe number of processors available on the system.
memory: i64The memory footprint of the task in bytes. A value of -1 means no valid value is currently available.
gpu_memory: i64The GPU memory usage of the task in bytes. A value of -1 means no valid value is currently available.
is_gpu_memory_inflated: c_intSet to true (1) if this task process’ GPU resource count is inflated because it is counting other processes’ resources (e.g, the GPU process has this value set to true because it is the aggregate of all processes).
Trait Implementations§
Source§impl Clone for _cef_task_info_t
impl Clone for _cef_task_info_t
Source§fn clone(&self) -> _cef_task_info_t
fn clone(&self) -> _cef_task_info_t
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more