|
|
@ -65,7 +65,7 @@ val get_operation_cost : t -> BasicCostWithReason.t
|
|
|
|
val map : f:(BasicCostWithReason.t -> BasicCostWithReason.t) -> t -> t
|
|
|
|
val map : f:(BasicCostWithReason.t -> BasicCostWithReason.t) -> t -> t
|
|
|
|
|
|
|
|
|
|
|
|
val zero_record : t
|
|
|
|
val zero_record : t
|
|
|
|
(** Map representing cost record \{OperationCost:0; AllocationCost:0\} *)
|
|
|
|
(** Map representing cost record \{OperationCost:0; AllocationCost:0; AutoreleasepoolSize:0\} *)
|
|
|
|
|
|
|
|
|
|
|
|
val mult_by : t -> nb_exec:BasicCost.t -> t
|
|
|
|
val mult_by : t -> nb_exec:BasicCost.t -> t
|
|
|
|
(** Special map where each element is multiplied by the number of executions *)
|
|
|
|
(** Special map where each element is multiplied by the number of executions *)
|
|
|
@ -74,10 +74,11 @@ val plus : t -> t -> t
|
|
|
|
(** Union of two maps where common costs are added together *)
|
|
|
|
(** Union of two maps where common costs are added together *)
|
|
|
|
|
|
|
|
|
|
|
|
val unit_cost_atomic_operation : t
|
|
|
|
val unit_cost_atomic_operation : t
|
|
|
|
(** Map representing cost record \{OperationCost:1; AllocationCost:0\} *)
|
|
|
|
(** Map representing cost record \{OperationCost:1; AllocationCost:0; AutoreleasepoolSize:0\} *)
|
|
|
|
|
|
|
|
|
|
|
|
val unit_cost_allocation : t
|
|
|
|
val unit_cost_allocation : t
|
|
|
|
(** Map representing cost record \{OperationCost:0; AllocationCost:1\} *)
|
|
|
|
(** Map representing cost record \{OperationCost:0; AllocationCost:1; AutoreleasepoolSize:0\} *)
|
|
|
|
|
|
|
|
|
|
|
|
val of_operation_cost : BasicCost.t -> t
|
|
|
|
val of_operation_cost : BasicCost.t -> t
|
|
|
|
(** Map representing cost record \{OperationCost:operation_cost; AllocationCost:0\} *)
|
|
|
|
(** Map representing cost record \{OperationCost:operation_cost; AllocationCost:0;
|
|
|
|
|
|
|
|
AutoreleasepoolSize:0\} *)
|
|
|
|