reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-xray/xray-graph.cpp
  195     CurrentMaxTSC = Record.TSC;
  197   if (Record.TSC < CurrentMaxTSC)
  201   auto &ThreadStack = PerThreadFunctionStack[Record.TId];
  202   switch (Record.Type) {
  205     if (Record.FuncId != 0 && G.count(Record.FuncId) == 0)
  205     if (Record.FuncId != 0 && G.count(Record.FuncId) == 0)
  206       G[Record.FuncId].SymbolName = FuncIdHelper.SymbolOrNumber(Record.FuncId);
  206       G[Record.FuncId].SymbolName = FuncIdHelper.SymbolOrNumber(Record.FuncId);
  207     ThreadStack.push_back({Record.FuncId, Record.TSC});
  207     ThreadStack.push_back({Record.FuncId, Record.TSC});
  214     if (ThreadStack.size() == 0 || ThreadStack.back().FuncId != Record.FuncId) {
  220           [&](const FunctionAttr &A) { return A.FuncId == Record.FuncId; });
  226       while (ThreadStack.back().FuncId != Record.FuncId) {
  227         TimestampT D = diff(ThreadStack.back().TSC, Record.TSC);
  238     uint64_t D = diff(ThreadStack.back().TSC, Record.TSC);
  241     EdgeIdentifier EI(VI, Record.FuncId);
  245     updateStat(G[Record.FuncId].S, D);