Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								09a4074869 
								
							 
						 
						
							
							
								
								remove support for per-time peak memory tracking, this  
							
							 
							
							... 
							
							
							
							isn't used by anyone and is better exposed as a non-per-timer 
thing.  Also, stop including System/Mutex.h in Timer.h
llvm-svn: 99841 
							
						 
						
							2010-03-29 21:28:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b355db7877 
								
							 
						 
						
							
							
								
								various timer fixes: move operator= out of line,  
							
							 
							
							... 
							
							
							
							eliminate the per-timer lock (timers should be 
externally locked if needed), the info-output-stream
can never be dbgs(), so drop the check.  Make some
stuff private.
llvm-svn: 99839 
							
						 
						
							2010-03-29 21:24:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5092a6de8e 
								
							 
						 
						
							
							
								
								s/.../.  
							
							 
							
							... 
							
							
							
							llvm-svn: 99834 
							
						 
						
							2010-03-29 20:40:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fafa57a82a 
								
							 
						 
						
							
							
								
								move code around and improve indentation, no functionality change.  
							
							 
							
							... 
							
							
							
							llvm-svn: 99831 
							
						 
						
							2010-03-29 20:35:01 +00:00  
						
					 
				
					
						
							
							
								 
								David Greene
							
						 
						
							 
							
							
							
							
								
							
							
								649efc4656 
								
							 
						 
						
							
							
								
								Change errs() to dbgs().  
							
							 
							
							... 
							
							
							
							llvm-svn: 92645 
							
						 
						
							2010-01-05 01:28:58 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								759d72dc8e 
								
							 
						 
						
							
							
								
								Fix a race condition in the Timer class.  
							
							 
							
							... 
							
							
							
							llvm-svn: 89056 
							
						 
						
							2009-11-17 07:06:10 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								358607dfa3 
								
							 
						 
						
							
							
								
								Trailing whitespace.  
							
							 
							
							... 
							
							
							
							llvm-svn: 86347 
							
						 
						
							2009-11-07 06:33:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								471ba48cb9 
								
							 
						 
						
							
							
								
								remove some uses of llvm/Support/Streams.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 79842 
							
						 
						
							2009-08-23 08:43:55 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								5c96ef7c4e 
								
							 
						 
						
							
							
								
								Have scoped mutexes take referenes instead of pointers.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74931 
							
						 
						
							2009-07-07 18:33:04 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								e9b1beb543 
								
							 
						 
						
							
							
								
								Make timers threadsafe again.  This isn't quite as nice as I'd hoped (it uses locking rather than atomic arithmetic),  
							
							 
							
							... 
							
							
							
							but should work on all the platforms we care about.
I might revisit this if a totally awesome way to do it occurs to me.
llvm-svn: 74002 
							
						 
						
							2009-06-23 20:52:29 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								5cc4131063 
								
							 
						 
						
							
							
								
								Revert my last series of commits related to Timer and 64-bit atomics.  Not all the targets  
							
							 
							
							... 
							
							
							
							we care about are capable of supporting it.
llvm-svn: 73993 
							
						 
						
							2009-06-23 20:17:22 +00:00  
						
					 
				
					
						
							
							
								 
								Lang Hames
							
						 
						
							 
							
							
							
							
								
							
							
								c547bad3ff 
								
							 
						 
						
							
							
								
								Switched size_t to int64_t to prevent type mismatch in call to max.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73988 
							
						 
						
							2009-06-23 19:49:23 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								ddf74dc986 
								
							 
						 
						
							
							
								
								Actually, these need to be signed integers, not unsigned.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73978 
							
						 
						
							2009-06-23 18:21:13 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								bf45b3e2ad 
								
							 
						 
						
							
							
								
								Use 64-bit integer counters for tracking time, rather than doubles.  This will be more atomic op friendly.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73974 
							
						 
						
							2009-06-23 18:12:30 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								4ed41c8be8 
								
							 
						 
						
							
							
								
								Make the lazy initialization of DefaultTimerGroup threadsafe.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73963 
							
						 
						
							2009-06-23 17:33:37 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								891fe79672 
								
							 
						 
						
							
							
								
								Revert r73923, which broke clang.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73957 
							
						 
						
							2009-06-23 16:36:10 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								977c6b8998 
								
							 
						 
						
							
							
								
								Add guards around timer groups, which can be shared.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73923 
							
						 
						
							2009-06-22 23:37:06 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								adec96f438 
								
							 
						 
						
							
							
								
								Reapply 53476 and 53480, with a fix so that it properly updates  
							
							 
							
							... 
							
							
							
							the BB member to the current basic block after emitting
instructions.
llvm-svn: 53567 
							
						 
						
							2008-07-14 18:19:29 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								ef8412c822 
								
							 
						 
						
							
							
								
								Back out 53476 and 53480 for now. Somehow they cause llc to miscompile 179.art.  
							
							 
							
							... 
							
							
							
							llvm-svn: 53502 
							
						 
						
							2008-07-12 01:38:51 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								36a69373dc 
								
							 
						 
						
							
							
								
								Add support for putting NamedRegionTimers in TimerGroups, and  
							
							 
							
							... 
							
							
							
							use a timer group for the timers in SelectionDAGISel. Also,
Split scheduling out from emitting, to give each their own
timer.
llvm-svn: 53476 
							
						 
						
							2008-07-11 21:54:34 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								3707f1daba 
								
							 
						 
						
							
							
								
								Use find instead of lower_bound.  
							
							 
							
							... 
							
							
							
							llvm-svn: 53474 
							
						 
						
							2008-07-11 20:58:19 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								5ceb8b676c 
								
							 
						 
						
							
							
								
								Append to the ActiveTimers std::vector before looking at the timer instead  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2008-06-24 22:07:07 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								c107d0020d 
								
							 
						 
						
							
							
								
								Make these variables static.  
							
							 
							
							... 
							
							
							
							llvm-svn: 50196 
							
						 
						
							2008-04-23 23:15:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							 
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								355fc5ad50 
								
							 
						 
						
							
							
								
								Removed more <iostream> includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 32321 
							
						 
						
							2006-12-07 20:28:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								700b873130 
								
							 
						 
						
							
							
								
								Detemplatize the Statistic class.  The only type it is instantiated with  
							
							 
							
							... 
							
							
							
							is 'unsigned'.
llvm-svn: 32279 
							
						 
						
							2006-12-06 17:46:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8111c59279 
								
							 
						 
						
							
							
								
								Fix more static dtor issues  
							
							 
							
							... 
							
							
							
							llvm-svn: 30725 
							
						 
						
							2006-10-04 21:52:35 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								10468d8a3c 
								
							 
						 
						
							
							
								
								Remove trailing whitespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 21422 
							
						 
						
							2005-04-21 22:55:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								24922c7a2b 
								
							 
						 
						
							
							
								
								Timers SHOULD NOT record the time taken to count the bytes allocated in the heap!  
							
							 
							
							... 
							
							
							
							llvm-svn: 20765 
							
						 
						
							2005-03-22 03:20:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								610ce2c678 
								
							 
						 
						
							
							
								
								Don't print a 'Total Execution Time' line for the 'Miscellaneous Ungrouped  
							
							 
							
							... 
							
							
							
							Timers' section.  Since these are random timers in the program it doesn't
make sense to sum them up.
llvm-svn: 20090 
							
						 
						
							2005-02-09 18:41:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2295d0b7de 
								
							 
						 
						
							
							
								
								Memory used is a delta between memuse at the start of the time and the  
							
							 
							
							... 
							
							
							
							memuse at the end, thus it is signed.
llvm-svn: 19904 
							
						 
						
							2005-01-29 05:21:16 +00:00  
						
					 
				
					
						
							
							
								 
								Jeff Cohen
							
						 
						
							 
							
							
							
							
								
							
							
								1a26d15c80 
								
							 
						 
						
							
							
								
								Use size_t instead of long to represent memory usage.  long is 32 bits  
							
							 
							
							... 
							
							
							
							on 64-bit Windows.
llvm-svn: 19393 
							
						 
						
							2005-01-08 20:15:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2c5e4ed8f9 
								
							 
						 
						
							
							
								
								Silence a VS warning.  
							
							 
							
							... 
							
							
							
							llvm-svn: 19377 
							
						 
						
							2005-01-08 19:31:31 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								ad7bdf7400 
								
							 
						 
						
							
							
								
								Fix a bug that made the nightly tester *really* slow. During changes for  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2004-12-27 08:03:04 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								92e8a5a0ea 
								
							 
						 
						
							
							
								
								Fix a bug where system time always equals user time  
							
							 
							
							... 
							
							
							
							llvm-svn: 19075 
							
						 
						
							2004-12-20 21:44:27 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								ee556dd431 
								
							 
						 
						
							
							
								
								Put some header files back that Win32 needs.  
							
							 
							
							... 
							
							
							
							llvm-svn: 19058 
							
						 
						
							2004-12-20 03:59:23 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								2708881067 
								
							 
						 
						
							
							
								
								For PR351:  
							
							 
							
							... 
							
							
							
							* 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 
							
						 
						
							2004-12-20 00:59:04 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								87ad666bb3 
								
							 
						 
						
							
							
								
								Revert the last patch as it causes a static destruction ordering problem.  
							
							 
							
							... 
							
							
							
							llvm-svn: 18925 
							
						 
						
							2004-12-14 03:55:21 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								53bd3d0b1a 
								
							 
						 
						
							
							
								
								Get rid of some leaks found by VC leak detector.  
							
							 
							
							... 
							
							
							
							Patch contributed by Morten Ofsted.
llvm-svn: 18889 
							
						 
						
							2004-12-13 16:04:04 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								0bcf9e4da6 
								
							 
						 
						
							
							
								
								Undo last change as its unnecessary.  
							
							 
							
							... 
							
							
							
							llvm-svn: 17985 
							
						 
						
							2004-11-19 04:59:07 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								5d76fa0a3c 
								
							 
						 
						
							
							
								
								Make a cast explicit.  
							
							 
							
							... 
							
							
							
							llvm-svn: 17977 
							
						 
						
							2004-11-19 03:20:09 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								7c16caa336 
								
							 
						 
						
							
							
								
								Changes For Bug 352  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2004-09-01 22:55:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6068345cc5 
								
							 
						 
						
							
							
								
								Implement getTimeRecord natively in Win32, properly conditionalize the  
							
							 
							
							... 
							
							
							
							getrusage implementation on HAVE_GETRUSAGE
llvm-svn: 14050 
							
						 
						
							2004-06-07 19:34:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dd978ce8c5 
								
							 
						 
						
							
							
								
								Finegrainify namespacification  
							
							 
							
							... 
							
							
							
							Make the Timer code give correct user/system/user+system times when -track-memory is enabled
llvm-svn: 10463 
							
						 
						
							2003-12-14 21:27:33 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								960707c335 
								
							 
						 
						
							
							
								
								Put all LLVM code into the llvm namespace, as per bug 109.  
							
							 
							
							... 
							
							
							
							llvm-svn: 9903 
							
						 
						
							2003-11-11 22:41:34 +00:00  
						
					 
				
					
						
							
							
								 
								John Criswell
							
						 
						
							 
							
							
							
							
								
							
							
								482202a601 
								
							 
						 
						
							
							
								
								Added LLVM project notice to the top of every C++ source file.  
							
							 
							
							... 
							
							
							
							Header files will be on the way.
llvm-svn: 9298 
							
						 
						
							2003-10-20 19:43:21 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								cc31fddf13 
								
							 
						 
						
							
							
								
								Don't include Config/stdio.h or <stdio.h>.  
							
							 
							
							... 
							
							
							
							llvm-svn: 9031 
							
						 
						
							2003-10-10 18:46:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8bfda656d9 
								
							 
						 
						
							
							
								
								Implement the NamedRegionTimer class  
							
							 
							
							... 
							
							
							
							llvm-svn: 8889 
							
						 
						
							2003-10-06 15:02:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f1afe32353 
								
							 
						 
						
							
							
								
								Describe the value name  
							
							 
							
							... 
							
							
							
							llvm-svn: 7493 
							
						 
						
							2003-08-01 22:15:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c4bbc7109d 
								
							 
						 
						
							
							
								
								Fix the JIT in the Nightly tester.  This was not a fun bug to track down.  
							
							 
							
							... 
							
							
							
							See the comments in the patch for details.
llvm-svn: 7457 
							
						 
						
							2003-07-31 19:38:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eaee325932 
								
							 
						 
						
							
							
								
								Trivial cleanups: no need to include header twice.  Global variable is local to file  
							
							 
							
							... 
							
							
							
							llvm-svn: 7456 
							
						 
						
							2003-07-31 19:31:21 +00:00  
						
					 
				
					
						
							
							
								 
								John Criswell
							
						 
						
							 
							
							
							
							
								
							
							
								3ef61afb76 
								
							 
						 
						
							
							
								
								Merged in autoconf branch.  This provides configuration via the autoconf  
							
							 
							
							... 
							
							
							
							system.
llvm-svn: 7014 
							
						 
						
							2003-06-30 21:59:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0cfcaf0cc3 
								
							 
						 
						
							
							
								
								Remove usage of sys/unistd.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 6788 
							
						 
						
							2003-06-19 18:42:09 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								ad3aabd47a 
								
							 
						 
						
							
							
								
								Put ifdefs around use of malloc.h/mallinfo, which isn't available on FreeBSD.  
							
							 
							
							... 
							
							
							
							llvm-svn: 6750 
							
						 
						
							2003-06-17 19:54:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								235b91e2ea 
								
							 
						 
						
							
							
								
								Fix compilation problem with some versions of G++  
							
							 
							
							... 
							
							
							
							llvm-svn: 6660 
							
						 
						
							2003-06-06 22:13:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								efadd781f4 
								
							 
						 
						
							
							
								
								Fix problem with perror  
							
							 
							
							... 
							
							
							
							llvm-svn: 6659 
							
						 
						
							2003-06-06 21:09:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b0e5958961 
								
							 
						 
						
							
							
								
								Add a new info-output-file option (hidden from --help) which is to be used by  
							
							 
							
							... 
							
							
							
							the testing scripts  to avoid breaking diffs while still gathering stats.
llvm-svn: 6067 
							
						 
						
							2003-05-09 20:05:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4e6fad05a6 
								
							 
						 
						
							
							
								
								Make more compatible with GCC 2.96  
							
							 
							
							... 
							
							
							
							llvm-svn: 5550 
							
						 
						
							2003-02-13 16:25:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a6b38bd7f5 
								
							 
						 
						
							
							
								
								Remove gunk that was supposed to make space evaluation more precise, but never worked.  
							
							 
							
							... 
							
							
							
							llvm-svn: 5549 
							
						 
						
							2003-02-13 05:07:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5c6961c509 
								
							 
						 
						
							
							
								
								Don't output times in "scientific" notation  
							
							 
							
							... 
							
							
							
							llvm-svn: 5544 
							
						 
						
							2003-02-12 19:02:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5981c63e6e 
								
							 
						 
						
							
							
								
								Squelch warning  
							
							 
							
							... 
							
							
							
							llvm-svn: 5494 
							
						 
						
							2003-02-05 21:44:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2f75204cf4 
								
							 
						 
						
							
							
								
								* Add new -track-memory option to tools which enables the mem usage column 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 
							
						 
						
							2003-01-30 23:08:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f96a218932 
								
							 
						 
						
							
							
								
								Add peak memory usage measurement capability  
							
							 
							
							... 
							
							
							
							Add (currently disabled) faciility to try to filter out pool allocation overhead from memory usage stats
llvm-svn: 4753 
							
						 
						
							2002-11-18 21:47:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2ce8c6890b 
								
							 
						 
						
							
							
								
								Simplify code  
							
							 
							
							... 
							
							
							
							llvm-svn: 4547 
							
						 
						
							2002-11-04 21:06:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d8be7b01f9 
								
							 
						 
						
							
							
								
								Sun can now use mallinfo()  
							
							 
							
							... 
							
							
							
							llvm-svn: 4546 
							
						 
						
							2002-11-04 21:05:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								32856be0f0 
								
							 
						 
						
							
							
								
								Allow memory sizes to be negative, remove obsolete TmpRSS field  
							
							 
							
							... 
							
							
							
							llvm-svn: 4538 
							
						 
						
							2002-11-04 19:19:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								203be1a568 
								
							 
						 
						
							
							
								
								mallinfo is not available on sun apparently :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 4537 
							
						 
						
							2002-11-04 19:01:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ee792946bb 
								
							 
						 
						
							
							
								
								Minor fix to space accounting  
							
							 
							
							... 
							
							
							
							llvm-svn: 4520 
							
						 
						
							2002-11-04 01:49:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								559f5118d1 
								
							 
						 
						
							
							
								
								Implement MaxRSS in terms of mallinfo instead of the system RSS.  This gives  
							
							 
							
							... 
							
							
							
							us much more accurate numbers and actually WORKS.
llvm-svn: 4518 
							
						 
						
							2002-11-04 00:32:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c98c871617 
								
							 
						 
						
							
							
								
								Add #include  
							
							 
							
							... 
							
							
							
							llvm-svn: 4291 
							
						 
						
							2002-10-27 19:08:03 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								b8aef8eff8 
								
							 
						 
						
							
							
								
								Added #include<unistd.h> to compile with solaris gcc3.2  
							
							 
							
							... 
							
							
							
							llvm-svn: 4042 
							
						 
						
							2002-10-04 23:57:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6dad11f6c0 
								
							 
						 
						
							
							
								
								Checkin generic interval timer support  
							
							 
							
							... 
							
							
							
							llvm-svn: 3992 
							
						 
						
							2002-10-01 19:36:54 +00:00