Module Costlib.CostDomain
module BasicCost : sig ... endmodule BasicCostWithReason : sig ... endmodule VariantCostMap : sig ... endtype t= VariantCostMap.ttype summary={post : t;is_on_ui_thread : bool;}
val pp_summary : F.formatter -> summary -> unitval get_cost_kind : IBase.CostKind.t -> t -> BasicCostWithReason.tval get_operation_cost : t -> BasicCostWithReason.tval map : f:(BasicCostWithReason.t -> BasicCostWithReason.t) -> t -> tval zero_record : tMap representing cost record {OperationCost:0; AllocationCost:0; IOCost:0}
val mult_by : t -> nb_exec:BasicCost.t -> tSpecial map where each element is multiplied by the number of executions
val unit_cost_atomic_operation : tMap representing cost record {OperationCost:1; AllocationCost:0; IOCost:0}
val unit_cost_allocation : tMap representing cost record {OperationCost:0; AllocationCost:1; IOCost:0}
val of_operation_cost : BasicCost.t -> tMap representing cost record {OperationCost:operation_cost; AllocationCost:0; IOCost:0}