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

Side by Side Diff: src/IceTimerTree.cpp

Issue 1216963007: Doxygenize the documentation comments (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase to master Created 5 years, 5 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/IceTimerTree.h ('k') | src/IceTranslator.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.cpp - Pass timer defs ---------------------===// 1 //===- subzero/src/IceTimerTree.cpp - Pass timer defs ---------------------===//
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 defines the TimerTree class, which tracks flat and 10 /// \file
11 // cumulative execution time collection of call chains. 11 /// This file defines the TimerTree class, which tracks flat and
12 // 12 /// cumulative execution time collection of call chains.
13 ///
13 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
14 15
15 #include "IceTimerTree.h" 16 #include "IceTimerTree.h"
16 17
17 #include "IceDefs.h" 18 #include "IceDefs.h"
18 19
19 #pragma clang diagnostic push 20 #pragma clang diagnostic push
20 #pragma clang diagnostic ignored "-Wunused-parameter" 21 #pragma clang diagnostic ignored "-Wunused-parameter"
21 #include "llvm/Support/Timer.h" 22 #include "llvm/Support/Timer.h"
22 #pragma clang diagnostic pop 23 #pragma clang diagnostic pop
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 dumpHelper(Str, FlatMap, TotalTime); 303 dumpHelper(Str, FlatMap, TotalTime);
303 Str << "Number of timer updates: " << StateChangeCount << "\n"; 304 Str << "Number of timer updates: " << StateChangeCount << "\n";
304 } 305 }
305 306
306 double TimerStack::timestamp() { 307 double TimerStack::timestamp() {
307 // TODO: Implement in terms of std::chrono for C++11. 308 // TODO: Implement in terms of std::chrono for C++11.
308 return llvm::TimeRecord::getCurrentTime(false).getWallTime(); 309 return llvm::TimeRecord::getCurrentTime(false).getWallTime();
309 } 310 }
310 311
311 } // end of namespace Ice 312 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceTimerTree.h ('k') | src/IceTranslator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698