Esempio n. 1
0
void LoggingTracer::dumpThreadSummary(const SystemState &system)
{
  for (Node *node : system.getNodes()) {
    if (!node->isProcessorNode())
      continue;
    for (Core *core : static_cast<ProcessorNode*>(node)->getCores()) {
      dumpThreadSummary(*core);
    }
  }
}
Esempio n. 2
0
static inline void
addToCoreMap(std::map<std::pair<unsigned, unsigned>,Core*> &coreMap,
             SystemState &system)
{
  for (Node *node : system.getNodes()) {
    if (!node->isProcessorNode())
      continue;
    addToCoreMap(coreMap, static_cast<ProcessorNode&>(*node));
  }
}
Esempio n. 3
0
static void
connectWaveformTracer(SystemState &system, WaveformTracer &waveformTracer)
{
  for (Node *node : system.getNodes()) {
    if (!node->isProcessorNode())
      continue;
    for (Core *core : static_cast<ProcessorNode*>(node)->getCores()) {
      connectWaveformTracer(*core, waveformTracer);
    }
  }
  waveformTracer.finalizePorts();
}