Process class

Constructors

Process({required int id, required int osProcessId, required ProcessType type, required String profile, required int naclDebugPort, required List<TaskInfo> tasks, double? cpu, double? network, double? privateMemory, double? jsMemoryAllocated, double? jsMemoryUsed, double? sqliteMemory, Cache? imageCache, Cache? scriptCache, Cache? cssCache})
Process.fromJS(Process _wrapped)

Properties

cpu double?
The most recent measurement of the process's CPU usage, expressed as the percentage of a single CPU core used in total, by all of the process's threads. This gives a value from zero to CpuInfo.numOfProcessors*100, which can exceed 100% in multi-threaded processes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
cssCache Cache?
The most recent information about the CSS cache for the process. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
Unique ID of the process provided by the browser.
getter/setter pair
imageCache Cache?
The most recent information about the image cache for the process. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
jsMemoryAllocated double?
The most recent measurement of the process JavaScript allocated memory, in bytes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
jsMemoryUsed double?
The most recent measurement of the process JavaScript memory used, in bytes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
naclDebugPort int
The debugging port for Native Client processes. Zero for other process types and for NaCl processes that do not have debugging enabled.
getter/setter pair
network double?
The most recent measurement of the process network usage, in bytes per second. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
osProcessId int
The ID of the process, as provided by the OS.
getter/setter pair
privateMemory double?
The most recent measurement of the process private memory usage, in bytes. Only available when receiving the object as part of a callback from onUpdatedWithMemory or getProcessInfo with the includeMemory flag.
getter/setter pair
profile String
The profile which the process is associated with.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptCache Cache?
The most recent information about the script cache for the process. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
sqliteMemory double?
The most recent measurement of the process's SQLite memory usage, in bytes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
getter/setter pair
tasks List<TaskInfo>
Array of TaskInfos representing the tasks running on this process.
getter/setter pair
toJS → Process
no setter
type ProcessType
The type of process.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited