Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ GetPID
Function
GetPID
src/utils/logging.cc:81–81 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
: fname_(fname), line_(line), severity_(severity) {}
80
81
inline pid_t GetPID() { return getpid(); }
82
inline pid_t GetTID() { return (pid_t)(uintptr_t)pthread_self(); }
83
84
void LogMessage::GenerateLogMessage() {
Callers
1
DoLogging
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected