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

Side by Side Diff: src/LinuxMallocProfiling.h

Issue 1781213002: Add malloc/new profiling on linux (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Refactoring Created 4 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
OLDNEW
1 //===- subzero/src/IceMangling.h - Name mangling for crosstests -*- C++ -*-===// 1 //===--- subzero/src/LinuxMallocProfiling.h - malloc/new tracing ---------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
11 /// \brief Declares utility functions for name mangling for cross tests. 11 /// \brief malloc/new/...caller tracing.
12 /// 12 ///
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_ICEMANGLING_H
16 #define SUBZERO_SRC_ICEMANGLING_H
17
18 #include "IceDefs.h"
19
20 namespace Ice { 15 namespace Ice {
21 16
22 IceString mangleName(const IceString &Name); 17 class LinuxMallocProfiling {
18 public:
19 static void Start();
Jim Stichnoth 2016/03/12 00:12:58 name these start() and end()
sehr 2016/03/15 00:36:45 Done.
20 static void End();
21 };
23 22
24 } // end of namespace Ice 23 } // end namespace Ice
Jim Stichnoth 2016/03/12 00:12:58 end of namespace Ice
sehr 2016/03/15 00:36:46 Done.
25
26 #endif // SUBZERO_SRC_ICEMANGLING_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698