diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 21:47:24 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 21:47:24 +0000 |
commit | ea319e49d70136abf8c91a0688e48230f4fbd3d3 (patch) | |
tree | 814771e00e538ee77ed1422c71781dd7fd604898 /base/tracked_objects.h | |
parent | 237e6d03c2c9371665dd9ff73407e0ae3f8c3ade (diff) | |
download | chromium_src-ea319e49d70136abf8c91a0688e48230f4fbd3d3.zip chromium_src-ea319e49d70136abf8c91a0688e48230f4fbd3d3.tar.gz chromium_src-ea319e49d70136abf8c91a0688e48230f4fbd3d3.tar.bz2 |
Fix typos in comments
about:objects became about:tasks a while back, but there were
somem lingering references.
tbr=wtc
Review URL: http://codereview.chromium.org/4662002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.h')
-rw-r--r-- | base/tracked_objects.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/base/tracked_objects.h b/base/tracked_objects.h index b76a295..87912c0 100644 --- a/base/tracked_objects.h +++ b/base/tracked_objects.h @@ -21,18 +21,18 @@ // across a series of objects so that the counts and times can be rapidly // updated without (usually) having to lock the data, and hence there is usually // very little contention caused by the tracking. The data can be viewed via -// the about:objects URL, with a variety of sorting and filtering choices. +// the about:tasks URL, with a variety of sorting and filtering choices. // -// Theese classes serve as the basis of a profiler of sorts for the Tasks -// system. As a result, design decisions were made to maximize speed, by -// minimizing recurring allocation/deallocation, lock contention and data -// copying. In the "stable" state, which is reached relatively quickly, there -// is no separate marginal allocation cost associated with construction or -// destruction of tracked objects, no locks are generally employed, and probably -// the largest computational cost is associated with obtaining start and stop -// times for instances as they are created and destroyed. The introduction of -// worker threads had a slight impact on this approach, and required use of some -// locks when accessing data from the worker threads. +// These classes serve as the basis of a profiler of sorts for the Tasks system. +// As a result, design decisions were made to maximize speed, by minimizing +// recurring allocation/deallocation, lock contention and data copying. In the +// "stable" state, which is reached relatively quickly, there is no separate +// marginal allocation cost associated with construction or destruction of +// tracked objects, no locks are generally employed, and probably the largest +// computational cost is associated with obtaining start and stop times for +// instances as they are created and destroyed. The introduction of worker +// threads had a slight impact on this approach, and required use of some locks +// when accessing data from the worker threads. // // The following describes the lifecycle of tracking an instance. // @@ -111,7 +111,7 @@ // // The above description tries to define the high performance (run time) // portions of these classes. After gathering statistics, calls instigated -// by visiting about:objects will assemble and aggregate data for display. The +// by visiting about:tasks will assemble and aggregate data for display. The // following data structures are used for producing such displays. They are // not performance critical, and their only major constraint is that they should // be able to run concurrently with ongoing augmentation of the birth and death @@ -137,8 +137,7 @@ // need to be sorted, and possibly aggregated (example: how many threads are in // a specific consecutive set of Snapshots? What was the total birth count for // that set? etc.). Aggregation instances collect running sums of any set of -// snapshot instances, and are used to print sub-totals in an about:objects -// page. +// snapshot instances, and are used to print sub-totals in an about:tasks page. // // TODO(jar): I need to store DataCollections, and provide facilities for taking // the difference between two gathered DataCollections. For now, I'm just |