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

Callers 1

DoLoggingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected