cpu.cc (2867:cc92d58a3210) cpu.cc (2871:7ed5c9ef3eb6)
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 347 unchanged lines hidden (view full) ---

356 .name(name() + ".ipc_total")
357 .desc("IPC: Total IPC of All Threads")
358 .precision(6);
359 totalIpc = totalCommittedInsts / simTicks;
360
361}
362
363template <class Impl>
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 347 unchanged lines hidden (view full) ---

356 .name(name() + ".ipc_total")
357 .desc("IPC: Total IPC of All Threads")
358 .precision(6);
359 totalIpc = totalCommittedInsts / simTicks;
360
361}
362
363template <class Impl>
364Port *
365FullO3CPU<Impl>::getPort(const std::string &if_name, int idx)
366{
367 if (if_name == "dcache_port")
368 return iew.getDcachePort();
369 else if (if_name == "icache_port")
370 return fetch.getIcachePort();
371 else
372 panic("No Such Port\n");
373}
374
375template <class Impl>
364void
365FullO3CPU<Impl>::tick()
366{
367 DPRINTF(O3CPU, "\n\nFullO3CPU: Ticking main, FullO3CPU.\n");
368
369 ++numCycles;
370
371// activity = false;

--- 972 unchanged lines hidden ---
376void
377FullO3CPU<Impl>::tick()
378{
379 DPRINTF(O3CPU, "\n\nFullO3CPU: Ticking main, FullO3CPU.\n");
380
381 ++numCycles;
382
383// activity = false;

--- 972 unchanged lines hidden ---