MCPcopy Create free account
hub / github.com/dds-bridge/dds / init_debug_files

Method init_debug_files

library/src/system/thread_data.cpp:7–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5using std::string;
6
7void ThreadData::init_debug_files([[maybe_unused]] const string& suffix)
8{
9#ifdef DDS_TOP_LEVEL
10 fileTopLevel.SetName(DDS_TOP_LEVEL_PREFIX + suffix);
11#endif
12
13#ifdef DDS_AB_STATS
14 fileABstats.SetName(DDS_AB_STATS_PREFIX + suffix);
15#endif
16
17#ifdef DDS_AB_HITS
18 fileRetrieved.SetName(DDS_AB_HITS_RETRIEVED_PREFIX + suffix);
19 fileStored.SetName(DDS_AB_HITS_STORED_PREFIX + suffix);
20#endif
21
22#ifdef DDS_TT_STATS
23 fileTTstats.SetName(DDS_TT_STATS_PREFIX + suffix);
24#endif
25
26#ifdef DDS_TIMING
27 fileTimerList.SetName(DDS_TIMING_PREFIX + suffix);
28#endif
29
30#ifdef DDS_MOVES
31 fileMoves.SetName(DDS_MOVES_PREFIX + suffix);
32#endif
33}
34
35void ThreadData::close_debug_files()
36{

Callers

nothing calls this directly

Calls 1

SetNameMethod · 0.80

Tested by

no test coverage detected