MCPcopy 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
81inline pid_t GetPID() { return getpid(); }
82inline pid_t GetTID() { return (pid_t)(uintptr_t)pthread_self(); }
83
84void LogMessage::GenerateLogMessage() {

Callers 1

DoLoggingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected