| 876 | } |
| 877 | |
| 878 | BatchAccessLog::AccessRecord BatchAccessLog::GetAccessRecord(ResourceUsageTag tag) const { |
| 879 | auto found_log = log_map_.find(tag); |
| 880 | if (found_log != log_map_.cend()) { |
| 881 | return found_log->second.GetAccessRecord(tag); |
| 882 | } |
| 883 | // tag not found |
| 884 | assert(false); |
| 885 | return AccessRecord(); |
| 886 | } |
| 887 | |
| 888 | std::string BatchAccessLog::CBSubmitLog::GetDebugRegionName(const ResourceUsageRecord& record) const { |
| 889 | const auto& label_commands = (*cbs_)[0]->GetLabelCommands(); |
no test coverage detected