Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: third_party/tcmalloc/chromium/src/profiledata.h

Issue 576001: Merged third_party/tcmalloc/vendor/src(google-perftools r87) into... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed the unnecessary printf and ASSERT(0) Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2007, Google Inc. 1 // Copyright (c) 2007, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 size_t total_bytes_; // How much output 170 size_t total_bytes_; // How much output
171 char* fname_; // Profile file name 171 char* fname_; // Profile file name
172 time_t start_time_; // Start time, or 0 172 time_t start_time_; // Start time, or 0
173 173
174 // Move 'entry' to the eviction buffer. 174 // Move 'entry' to the eviction buffer.
175 void Evict(const Entry& entry); 175 void Evict(const Entry& entry);
176 176
177 // Write contents of eviction buffer to disk. 177 // Write contents of eviction buffer to disk.
178 void FlushEvicted(); 178 void FlushEvicted();
179 179
180 DISALLOW_EVIL_CONSTRUCTORS(ProfileData); 180 DISALLOW_COPY_AND_ASSIGN(ProfileData);
181 }; 181 };
182 182
183 #endif // BASE_PROFILEDATA_H_ 183 #endif // BASE_PROFILEDATA_H_
OLDNEW
« no previous file with comments | « third_party/tcmalloc/chromium/src/profile-handler.cc ('k') | third_party/tcmalloc/chromium/src/solaris/libstdc++.la » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698