1/* 2 * Copyright (c) 2010-2013, 2016 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 236 unchanged lines hidden (view full) --- 245 } 246 247 if (!dumpStatsPCEvent) 248 panic("dumpStatsPCEvent not created!"); 249 250 std::string task_filename = "tasks.txt"; 251 taskFile = simout.create(name() + "." + task_filename); 252 |
253 for (const auto tc : threadContexts) { |
254 uint32_t pid = tc->getCpuPtr()->getPid(); 255 if (pid != BaseCPU::invldPid) { 256 mapPid(tc, pid); 257 tc->getCpuPtr()->taskId(taskMap[pid]); 258 } 259 } 260 } 261} --- 115 unchanged lines hidden --- |