|
Jetson Inference
DNN Vision Library
|
Go to the documentation of this file.
23 #ifndef __MULTITHREAD_PROCESS_H_
24 #define __MULTITHREAD_PROCESS_H_
26 #include <sys/types.h>
Static functions for retrieving information about the running process.
Definition: Process.h:35
static void Fork()
Duplicate the calling process.
static std::string GetCommandLine(pid_t pid=-1)
Retrieve the command line of the process with the specified PID, or of this calling process if PID is...
static std::string GetExecutableDir(pid_t pid=-1)
Retrieve the directory that the process executable resides in.
static std::string GetExecutablePath(pid_t pid=-1)
Retrieve the absolute path of the process with the specified PID, or of this calling process if PID i...
static std::string GetWorkingDir(pid_t pid=-1)
Retrieve the current working directory of the process.
static pid_t GetParentID()
Get the parent's process ID.
static pid_t GetID()
Get this process ID (PID)