summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Process.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the sillyReid Spencer2005-01-091-150/+0
| | | | | | | gdb debugger doesn't get confused on which file it is reading (the one in lib/System or the one in lib/System/{Win32,Unix}) llvm-svn: 19426
* Use size_t instead of long to represent memory usage. long is 32 bitsJeff Cohen2005-01-081-2/+2
| | | | | | on 64-bit Windows. llvm-svn: 19393
* Add functions for determining if the stdin/out/err is connected to aReid Spencer2005-01-011-0/+24
| | | | | | console or not. llvm-svn: 19233
* Fix a compilation error for the case where mallinfo() is not available.Reid Spencer2004-12-311-1/+1
| | | | llvm-svn: 19201
* For PR351:Reid Spencer2004-12-271-0/+12
| | | | | | | * Move implementation of sys::PreventCoreFiles function to this file from the now defunct SysConfig abstraction. llvm-svn: 19159
* Implement GetTimeUsage correctly.Reid Spencer2004-12-201-4/+8
| | | | llvm-svn: 19074
* Provide a getrusage based implementation of GetTotalMemoryUsage and useReid Spencer2004-12-201-0/+4
| | | | | | the ru_maxrss field as an approximation. llvm-svn: 19072
* Consistently use the same #if style. Also, fix a bug testing for sbrk(3)Reid Spencer2004-12-201-4/+4
| | | | llvm-svn: 19071
* For PR351:Reid Spencer2004-12-201-6/+78
| | | | | | | | * Implement GetMallocUsage to get usage of malloc heap * Implement GetMemoryUsage to get total memory usage of process * Implement GetTimeUsage to get elapsed/user/system time llvm-svn: 19055
* Provide a generic unix implementation of the Process abstraction.Reid Spencer2004-09-111-0/+34
llvm-svn: 16290
OpenPOWER on IntegriCloud