aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillaume Melquiond2016-11-24 15:14:19 +0100
committerGuillaume Melquiond2016-11-24 15:14:19 +0100
commita27ac0315dcbb99c64a260bac3988199a26b39cf (patch)
tree2cf20f9ee79494c190cbd0fb8658872dd785d30b /lib
parentb16de62d20790930589795c3d10fbb07185ec22c (diff)
Fix some documentation typos.
Note: "dependant" does exist, but it is a noun and it means a person that is somehow financially dependent on someone else.
Diffstat (limited to 'lib')
-rw-r--r--lib/profile.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/profile.ml b/lib/profile.ml
index 0910db3fe2..d620fe69c4 100644
--- a/lib/profile.ml
+++ b/lib/profile.ml
@@ -146,9 +146,9 @@ let merge_profile filename (curr_table, curr_outside, curr_total as new_data) =
number of allocated bytes may exceed the maximum integer capacity
(2^31 on 32-bits architectures); therefore, allocation is measured
by small steps, total allocations are computed by adding elementary
- measures and carries are controled from step to step *)
+ measures and carries are controlled from step to step *)
-(* Unix measure of time is approximative and shoitt delays are often
+(* Unix measure of time is approximate and short delays are often
unperceivable; therefore, total times are measured in one (big)
step to avoid rounding errors and to get the best possible
approximation.
@@ -358,7 +358,7 @@ let declare_profile name =
prof_table := (name,e)::!prof_table;
e
-(* Default initialisation, may be overriden *)
+(* Default initialization, may be overridden *)
let _ = init_profile ()
(******************************)