summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Switched size_t to int64_t to prevent type mismatch in call to max.Lang Hames2009-06-231-2/+2
| | | | llvm-svn: 73988
* Actually, these need to be signed integers, not unsigned.Owen Anderson2009-06-231-2/+2
| | | | llvm-svn: 73978
* Use 64-bit integer counters for tracking time, rather than doubles. This ↵Owen Anderson2009-06-231-17/+17
| | | | | | will be more atomic op friendly. llvm-svn: 73974
* Make the lazy initialization of DefaultTimerGroup threadsafe.Owen Anderson2009-06-231-8/+14
| | | | llvm-svn: 73963
* Revert r73923, which broke clang.Owen Anderson2009-06-231-18/+10
| | | | llvm-svn: 73957
* Add guards around timer groups, which can be shared.Owen Anderson2009-06-221-10/+18
| | | | llvm-svn: 73923
* Reapply 53476 and 53480, with a fix so that it properly updatesDan Gohman2008-07-141-2/+34
| | | | | | | the BB member to the current basic block after emitting instructions. llvm-svn: 53567
* Back out 53476 and 53480 for now. Somehow they cause llc to miscompile 179.art.Evan Cheng2008-07-121-34/+2
| | | | llvm-svn: 53502
* Add support for putting NamedRegionTimers in TimerGroups, andDan Gohman2008-07-111-2/+34
| | | | | | | | use a timer group for the timers in SelectionDAGISel. Also, Split scheduling out from emitting, to give each their own timer. llvm-svn: 53476
* Use find instead of lower_bound.Dan Gohman2008-07-111-2/+2
| | | | llvm-svn: 53474
* Append to the ActiveTimers std::vector before looking at the timer insteadDan Gohman2008-06-241-1/+1
| | | | | | | | of after, so that any reallocation it does doesn't get counted for the pass being timed. This probably doesn't account for a timing discrepancy I was looking into, but I'm fixing it anyway. llvm-svn: 52693
* Make these variables static.Dan Gohman2008-04-231-2/+2
| | | | llvm-svn: 50196
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Removed more <iostream> includesBill Wendling2006-12-071-7/+7
| | | | llvm-svn: 32321
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-1/+1
| | | | | | is 'unsigned'. llvm-svn: 32279
* Fix more static dtor issuesChris Lattner2006-10-041-15/+16
| | | | llvm-svn: 30725
* Remove trailing whitespaceMisha Brukman2005-04-211-7/+7
| | | | llvm-svn: 21422
* Timers SHOULD NOT record the time taken to count the bytes allocated in the ↵Chris Lattner2005-03-221-2/+2
| | | | | | heap! llvm-svn: 20765
* Don't print a 'Total Execution Time' line for the 'Miscellaneous UngroupedChris Lattner2005-02-091-6/+14
| | | | | | | Timers' section. Since these are random timers in the program it doesn't make sense to sum them up. llvm-svn: 20090
* Memory used is a delta between memuse at the start of the time and theChris Lattner2005-01-291-3/+2
| | | | | | memuse at the end, thus it is signed. llvm-svn: 19904
* Use size_t instead of long to represent memory usage. long is 32 bitsJeff Cohen2005-01-081-5/+5
| | | | | | on 64-bit Windows. llvm-svn: 19393
* Silence a VS warning.Chris Lattner2005-01-081-1/+1
| | | | llvm-svn: 19377
* Fix a bug that made the nightly tester *really* slow. During changes forReid Spencer2004-12-271-3/+9
| | | | | | | | | | portability, the --track-space option was inadvertently ignored. This patch fixes that so that sys::Process::GetMallocUsage() is only invoked if the --track-spaces option is given. Apparently the mallinfo() call that GetMallocUsage() uses is *very* slow, especially when processing very large modules like projects/llvm-test/MultiSource/Applications/kimwitu++. llvm-svn: 19163
* Fix a bug where system time always equals user timeReid Spencer2004-12-201-5/+12
| | | | llvm-svn: 19075
* Put some header files back that Win32 needs.Reid Spencer2004-12-201-0/+2
| | | | llvm-svn: 19058
* For PR351:Reid Spencer2004-12-201-59/+13
| | | | | | | | * Move system dependent implementation out of this file. * Make implementation use sys::Process::GetMallocUsage where necessary. * Make implementation use sys::Process::GetTimeUsage where necessary. llvm-svn: 19053
* Revert the last patch as it causes a static destruction ordering problem.Reid Spencer2004-12-141-3/+5
| | | | llvm-svn: 18925
* Get rid of some leaks found by VC leak detector.Reid Spencer2004-12-131-5/+3
| | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18889
* Undo last change as its unnecessary.Reid Spencer2004-11-191-1/+1
| | | | llvm-svn: 17985
* Make a cast explicit.Reid Spencer2004-11-191-1/+1
| | | | llvm-svn: 17977
* Changes For Bug 352Reid Spencer2004-09-011-7/+7
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Implement getTimeRecord natively in Win32, properly conditionalize theChris Lattner2004-06-071-7/+28
| | | | | | getrusage implementation on HAVE_GETRUSAGE llvm-svn: 14050
* Finegrainify namespacificationChris Lattner2003-12-141-4/+5
| | | | | | Make the Timer code give correct user/system/user+system times when -track-memory is enabled llvm-svn: 10463
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-1/+6
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Don't include Config/stdio.h or <stdio.h>.Brian Gaeke2003-10-101-2/+0
| | | | llvm-svn: 9031
* Implement the NamedRegionTimer classChris Lattner2003-10-061-0/+18
| | | | llvm-svn: 8889
* Describe the value nameChris Lattner2003-08-011-1/+1
| | | | llvm-svn: 7493
* Fix the JIT in the Nightly tester. This was not a fun bug to track down.Chris Lattner2003-07-311-2/+14
| | | | | | See the comments in the patch for details. llvm-svn: 7457
* Trivial cleanups: no need to include header twice. Global variable is local ↵Chris Lattner2003-07-311-3/+1
| | | | | | to file llvm-svn: 7456
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-9/+12
| | | | | | system. llvm-svn: 7014
* Remove usage of sys/unistd.hChris Lattner2003-06-191-1/+0
| | | | llvm-svn: 6788
* Put ifdefs around use of malloc.h/mallinfo, which isn't available on FreeBSD.Brian Gaeke2003-06-171-2/+5
| | | | llvm-svn: 6750
* Fix compilation problem with some versions of G++Chris Lattner2003-06-061-1/+1
| | | | llvm-svn: 6660
* Fix problem with perrorChris Lattner2003-06-061-0/+1
| | | | llvm-svn: 6659
* Add a new info-output-file option (hidden from --help) which is to be used byChris Lattner2003-05-091-35/+93
| | | | | | the testing scripts to avoid breaking diffs while still gathering stats. llvm-svn: 6067
* Make more compatible with GCC 2.96Chris Lattner2003-02-131-4/+5
| | | | llvm-svn: 5550
* Remove gunk that was supposed to make space evaluation more precise, but ↵Chris Lattner2003-02-131-64/+1
| | | | | | never worked. llvm-svn: 5549
* Don't output times in "scientific" notationChris Lattner2003-02-121-2/+3
| | | | llvm-svn: 5544
* Squelch warningChris Lattner2003-02-051-1/+1
| | | | llvm-svn: 5494
OpenPOWER on IntegriCloud