Lines Matching refs:os
207 void BaseMutex::DumpAll(std::ostream& os) { in DumpAll() argument
209 os << "Mutex logging:\n"; in DumpAll()
216 os << "(Contended)\n"; in DumpAll()
219 mutex->Dump(os); in DumpAll()
220 os << "\n"; in DumpAll()
223 os << "(Never contented)\n"; in DumpAll()
226 mutex->Dump(os); in DumpAll()
227 os << "\n"; in DumpAll()
320 void BaseMutex::DumpContention(std::ostream& os) const { in DumpContention()
327 os << "never contended"; in DumpContention()
329 os << "contended " << contention_count in DumpContention()
362 os << " sample shows most blocked tid=" << max_tid; in DumpContention()
373 os << " sample shows tid=" << max_tid << " owning during this time"; in DumpContention()
630 void Mutex::Dump(std::ostream& os) const { in Dump()
631 os << (recursive_ ? "recursive " : "non-recursive ") in Dump()
636 DumpContention(os); in Dump()
639 std::ostream& operator<<(std::ostream& os, const Mutex& mu) { in operator <<() argument
640 mu.Dump(os); in operator <<()
641 return os; in operator <<()
876 void ReaderWriterMutex::Dump(std::ostream& os) const { in Dump()
877 os << name_ in Dump()
885 DumpContention(os); in Dump()
888 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu) { in operator <<() argument
889 mu.Dump(os); in operator <<()
890 return os; in operator <<()
893 std::ostream& operator<<(std::ostream& os, const MutatorMutex& mu) { in operator <<() argument
894 mu.Dump(os); in operator <<()
895 return os; in operator <<()