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

References

projects/compiler-rt/lib/xray/xray_fdr_logging.cpp
  452       if (TLD.Controller != nullptr) {
  453         TLD.Controller->flush();
  454         TLD.Controller = nullptr;
  460   if (UNLIKELY(TLD.Controller == nullptr)) {
  464     TLD.BQ = BQ;
  467     if (TLD.Buffer.Generation != BQ->generation() &&
  468         TLD.BQ->releaseBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok)
  468         TLD.BQ->releaseBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok)
  472     if (TLD.BQ->getBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok)
  472     if (TLD.BQ->getBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok)
  476     if (UNLIKELY(TLD.Writer == nullptr)) {
  477       auto *LWStorage = reinterpret_cast<FDRLogWriter *>(&TLD.LWStorage);
  478       new (LWStorage) FDRLogWriter(TLD.Buffer);
  479       TLD.Writer = LWStorage;
  481       TLD.Writer->resetRecord();
  484     auto *CStorage = reinterpret_cast<FDRController<> *>(&TLD.CStorage);
  486         FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime,
  486         FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime,
  486         FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime,
  488     TLD.Controller = CStorage;