summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * Add new -track-memory option to tools which enables the mem usage column ↵Chris Lattner2003-01-301-2/+14
| | | | | | | | | in the reports. This is now optional (and defaults to off) because mallinfo can be VERY slow as it seems to touch every page of allocated memory. llvm-svn: 5448
* Add peak memory usage measurement capabilityChris Lattner2002-11-181-8/+121
| | | | | | Add (currently disabled) faciility to try to filter out pool allocation overhead from memory usage stats llvm-svn: 4753
* Simplify codeChris Lattner2002-11-041-3/+1
| | | | llvm-svn: 4547
* Sun can now use mallinfo()Chris Lattner2002-11-041-5/+0
| | | | llvm-svn: 4546
* Allow memory sizes to be negative, remove obsolete TmpRSS fieldChris Lattner2002-11-041-14/+11
| | | | llvm-svn: 4538
* mallinfo is not available on sun apparently :(Chris Lattner2002-11-041-2/+7
| | | | llvm-svn: 4537
* Minor fix to space accountingChris Lattner2002-11-041-1/+1
| | | | llvm-svn: 4520
* Implement MaxRSS in terms of mallinfo instead of the system RSS. This givesChris Lattner2002-11-041-18/+8
| | | | | | us much more accurate numbers and actually WORKS. llvm-svn: 4518
* Add #includeChris Lattner2002-10-271-0/+1
| | | | llvm-svn: 4291
* Added #include<unistd.h> to compile with solaris gcc3.2Anand Shukla2002-10-041-0/+1
| | | | llvm-svn: 4042
* Checkin generic interval timer supportChris Lattner2002-10-011-0/+203
llvm-svn: 3992
OpenPOWER on IntegriCloud