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

Unified Diff: third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc

Issue 9311003: Update the tcmalloc chromium branch to r144 (gperftools 2.0), and merge chromium-specific changes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebasec Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc
diff --git a/third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc b/third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc
index 19371b78553c5eae891e7150b2eb0ea088fffbe3..399891bc58b7e811eb4a975e53825c95e4400f7f 100644
--- a/third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc
+++ b/third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc
@@ -41,7 +41,7 @@
#include <unistd.h> // for fork()
#endif
#include <sys/wait.h> // for wait()
-#include "google/profiler.h"
+#include "gperftools/profiler.h"
#include "base/simple_mutex.h"
#include "tests/testutil.h"
@@ -61,7 +61,7 @@ static void test_other_thread() {
for (i = 0; i < g_iters; ++i ) {
result ^= i;
}
- snprintf(b, sizeof(b), "%d", result); // get some libc action
+ snprintf(b, sizeof(b), "other: %d", result); // get some libc action
}
#endif
}
@@ -74,7 +74,7 @@ static void test_main_thread() {
for (i = 0; i < g_iters; ++i ) {
result ^= i;
}
- snprintf(b, sizeof(b), "%d", result); // get some libc action
+ snprintf(b, sizeof(b), "same: %d", result); // get some libc action
}
}

Powered by Google App Engine
This is Rietveld 408576698