Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ GetTID
Function
GetTID
src/utils/logging.cc:82–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
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() {
85
time_t rw_time = time(nullptr);
Callers
1
DoLogging
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected