cef_task_info_t

Type Alias cef_task_info_t 

Source
pub type cef_task_info_t = _cef_task_info_t;
Expand description

Structure representing task information provided by CefTaskManager.

Aliased Type§

#[repr(C)]
pub struct cef_task_info_t { pub size: usize, pub id: i64, pub type_: cef_task_type_t, pub is_killable: i32, pub title: _cef_string_utf16_t, pub cpu_usage: f64, pub number_of_processors: i32, pub memory: i64, pub gpu_memory: i64, pub is_gpu_memory_inflated: i32, }

Fields§

§size: usize

Size of this structure.

§id: i64

The task ID.

§type_: cef_task_type_t

The task type.

§is_killable: i32

Set to true (1) if the task is killable.

§title: _cef_string_utf16_t

The task title.

§cpu_usage: f64

The 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: i32

The number of processors available on the system.

§memory: i64

The memory footprint of the task in bytes. A value of -1 means no valid value is currently available.

§gpu_memory: i64

The GPU memory usage of the task in bytes. A value of -1 means no valid value is currently available.

§is_gpu_memory_inflated: i32

Set 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).