package obus
Pure Ocaml implementation of the D-Bus protocol
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.2.2.tar.gz
sha256=3bf0aeb00bf90cd4111483b37cefcb39af38ad6db1aeb6949a2fbecc13ff9a90
md5=7dd48f9bde3e069898fa08e9972596b5
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