package obus
Pure Ocaml implementation of the D-Bus protocol
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.2.1.tar.gz
sha256=4001c0756f8edd48a7d3a43ce9d984d3f3946abb627e63bf5ab2376f1b861c99
md5=218be0245e55bfa1d6fdd324bbedf568
doc/obus.upower/UPower_policy/index.html
Module UPower_policy
Quality of service policy
Types
type latency_request = {lr_uid : int;(*The user ID that issued the request.
*)lr_pid : int;(*The process ID of the application.
*)lr_exec : string;(*The executable that issued the request.
*)lr_timespec : int64;(*The number of seconds since the epoch.
*)lr_persistent : bool;(*If the request is persistent and outlives the connection lifetime.
*)lr_typ : latency;(*The type of the request.
*)lr_reserved : string;lr_value : int;(*The value, in microseconds or kilobits per second.
*)
}Methods
val get_latency_requests : UPower.t -> latency_request list Lwt.tSignals
val requests_changed : UPower.t -> unit OBus_signal.tval latency_changed : UPower.t -> (latency * int) OBus_signal.t