aboutsummaryrefslogtreecommitdiffstats
path: root/support/lib/Support/Timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove usage of sys/unistd.hChris Lattner2003-06-191-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6788 91177308-0d34-0410-b5e6-96231b3b80d8
* Put ifdefs around use of malloc.h/mallinfo, which isn't available on FreeBSD.Brian Gaeke2003-06-171-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6750 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compilation problem with some versions of G++Chris Lattner2003-06-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6660 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problem with perrorChris Lattner2003-06-061-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6659 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6067 91177308-0d34-0410-b5e6-96231b3b80d8
* Make more compatible with GCC 2.96Chris Lattner2003-02-131-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5550 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove gunk that was supposed to make space evaluation more precise, but ↵Chris Lattner2003-02-131-64/+1
| | | | | | never worked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5549 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't output times in "scientific" notationChris Lattner2003-02-121-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5544 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch warningChris Lattner2003-02-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5494 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5448 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4753 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify codeChris Lattner2002-11-041-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4547 91177308-0d34-0410-b5e6-96231b3b80d8
* Sun can now use mallinfo()Chris Lattner2002-11-041-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4546 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow memory sizes to be negative, remove obsolete TmpRSS fieldChris Lattner2002-11-041-14/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4538 91177308-0d34-0410-b5e6-96231b3b80d8
* mallinfo is not available on sun apparently :(Chris Lattner2002-11-041-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4537 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor fix to space accountingChris Lattner2002-11-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4520 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4518 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #includeChris Lattner2002-10-271-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4291 91177308-0d34-0410-b5e6-96231b3b80d8
* Added #include<unistd.h> to compile with solaris gcc3.2Anand Shukla2002-10-041-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4042 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin generic interval timer supportChris Lattner2002-10-011-0/+203
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3992 91177308-0d34-0410-b5e6-96231b3b80d8