diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 22:40:27 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 22:40:27 +0000 |
commit | c25db185303fdcc66f0411ad4b0216c2342b0a21 (patch) | |
tree | c0c71fe14f403c9a625e1fa19ec3e4381640675e /base/profiler | |
parent | 673728d901f7e31ce75e073d120f6647c25519a2 (diff) | |
download | chromium_src-c25db185303fdcc66f0411ad4b0216c2342b0a21.zip chromium_src-c25db185303fdcc66f0411ad4b0216c2342b0a21.tar.gz chromium_src-c25db185303fdcc66f0411ad4b0216c2342b0a21.tar.bz2 |
Switch to using an intergral type for durations inside profiler
Transition from internal used of "class Duration" (which is
kindred of base::TimeDelta) to using an integral type.
This is in preparation for handling durations that are
not time based, such as memmory allocation units.
r=rtenneti
BUG=103321
Review URL: http://codereview.chromium.org/8502001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109720 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/profiler')
-rw-r--r-- | base/profiler/tracked_time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/profiler/tracked_time.h b/base/profiler/tracked_time.h index e8e6d17..6f4bc7e 100644 --- a/base/profiler/tracked_time.h +++ b/base/profiler/tracked_time.h @@ -12,6 +12,8 @@ namespace tracked_objects { +typedef int DurationInt; + //------------------------------------------------------------------------------ #define USE_FAST_TIME_CLASS_FOR_DURATION_CALCULATIONS |