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

Side by Side Diff: src/IceTimerTree.h

Issue 877003003: Subzero: Use a "known" version of clang-format. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a clang-format blacklist. Fix formatting "errors". Created 5 years, 11 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
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/IceTypes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTimerTree.h - Pass timer defs -------------*- C++ -*-===// 1 //===- subzero/src/IceTimerTree.h - Pass timer defs -------------*- C++ -*-===//
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 // This file declares the TimerTree class, which allows flat and 10 // This file declares the TimerTree class, which allows flat and
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 private: 63 private:
64 void update(bool UpdateCounts); 64 void update(bool UpdateCounts);
65 static double timestamp(); 65 static double timestamp();
66 IceString Name; 66 IceString Name;
67 double FirstTimestamp; 67 double FirstTimestamp;
68 double LastTimestamp; 68 double LastTimestamp;
69 uint64_t StateChangeCount; 69 uint64_t StateChangeCount;
70 // IDsIndex maps a symbolic timer name to its integer ID. 70 // IDsIndex maps a symbolic timer name to its integer ID.
71 std::map<IceString, TimerIdT> IDsIndex; 71 std::map<IceString, TimerIdT> IDsIndex;
72 std::vector<IceString> IDs; // indexed by TimerIdT 72 std::vector<IceString> IDs; // indexed by TimerIdT
73 std::vector<TimerTreeNode> Nodes; // indexed by TTindex 73 std::vector<TimerTreeNode> Nodes; // indexed by TTindex
74 std::vector<double> LeafTimes; // indexed by TimerIdT 74 std::vector<double> LeafTimes; // indexed by TimerIdT
75 std::vector<size_t> LeafCounts; // indexed by TimerIdT 75 std::vector<size_t> LeafCounts; // indexed by TimerIdT
76 TTindex StackTop; 76 TTindex StackTop;
77 }; 77 };
78 78
79 } // end of namespace Ice 79 } // end of namespace Ice
80 80
81 #endif // SUBZERO_SRC_ICETIMERTREE_H 81 #endif // SUBZERO_SRC_ICETIMERTREE_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/IceTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698