MCPcopy Create free account
hub / github.com/LBANN/lbann / get_local_thread_id

Method get_local_thread_id

src/utils/threads/thread_pool.cpp:262–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260#endif // LBANN_TOPO_AWARE
261
262int thread_pool::get_local_thread_id()
263{
264 std::thread::id this_id = std::this_thread::get_id();
265 return m_thread_id_to_local_id_map[this_id];
266}
267
268} // namespace lbann

Callers 8

do_preload_data_storeMethod · 0.80
load_fileMethod · 0.80
fetch_raw_lineMethod · 0.80
fetchMethod · 0.80
do_preload_data_storeMethod · 0.80
load_conduit_nodeMethod · 0.80
fetch_datumMethod · 0.80
fetch_responseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected