| 140 | } |
| 141 | |
| 142 | void ProfileEntryPrototypeRegistry::GetPrototypes( |
| 143 | vector<const ProfileEntryPrototype*>* out) { |
| 144 | lock_guard<SpinLock> l(lock_); |
| 145 | out->reserve(prototypes_.size()); |
| 146 | for (auto p : prototypes_) out->push_back(p.second); |
| 147 | } |
| 148 | |
| 149 | ProfileEntryPrototype::ProfileEntryPrototype(const char* name, Significance significance, |
| 150 | const char* desc, TUnit::type unit) : |
no test coverage detected