LLVM API Documentation
The specific class representing the current process. More...
#include <Process.h>
Public Member Functions | |
virtual id_type | get_id () |
Get the operating system specific identifier for this process. More... | |
virtual TimeValue | get_user_time () const |
Get the user time consumed by this process. More... | |
virtual TimeValue | get_system_time () const |
Get the system time consumed by this process. More... | |
virtual TimeValue | get_wall_time () const |
Get the wall time consumed by this process. More... | |
Process configuration (sysconf on POSIX) | |
size_t | page_size () const |
Get the virtual memory page size. More... | |
Friends | |
class | process |
Additional Inherited Members | |
![]() | |
typedef pid_t | id_type |
Operating system specific type to identify a process. More... | |
![]() | |
static self_process * | get_self () |
Get the process object for the current process. More... | |
![]() | |
virtual | ~process () |
Only specific subclasses of process objects can be destroyed. More... | |
The specific class representing the current process.
The current process can both specialize the implementation of the routines and can expose certain information not available for other OS processes.
|
virtual |
Get the operating system specific identifier for this process.
Implements llvm::sys::process.
|
virtual |
Get the system time consumed by this process.
Note that this is often an approximation and may be zero on platforms where we don't have good support for the functionality.
Implements llvm::sys::process.
|
virtual |
Get the user time consumed by this process.
Note that this is often an approximation and may be zero on platforms where we don't have good support for the functionality.
Implements llvm::sys::process.
|
virtual |
Get the wall time consumed by this process.
Note that this is often an approximation and may be zero on platforms where we don't have good support for the functionality.
Implements llvm::sys::process.
Definition at line 73 of file Process.cpp.
References getElapsedWallTime().
|
inline |
Get the virtual memory page size.
Query the operating system for this process's page size.
Definition at line 124 of file Process.h.
Referenced by getOpenFileImpl().