timing.cc (2948:ae26cf37957c) timing.cc (3119:6c93a7460ecf)
1/*
2 * Copyright (c) 2002-2005 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;

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

584// TimingSimpleCPU Simulation Object
585//
586BEGIN_DECLARE_SIM_OBJECT_PARAMS(TimingSimpleCPU)
587
588 Param<Counter> max_insts_any_thread;
589 Param<Counter> max_insts_all_threads;
590 Param<Counter> max_loads_any_thread;
591 Param<Counter> max_loads_all_threads;
1/*
2 * Copyright (c) 2002-2005 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;

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

584// TimingSimpleCPU Simulation Object
585//
586BEGIN_DECLARE_SIM_OBJECT_PARAMS(TimingSimpleCPU)
587
588 Param<Counter> max_insts_any_thread;
589 Param<Counter> max_insts_all_threads;
590 Param<Counter> max_loads_any_thread;
591 Param<Counter> max_loads_all_threads;
592 Param<Tick> progress_interval;
592 SimObjectParam<MemObject *> mem;
593 SimObjectParam<System *> system;
594
595#if FULL_SYSTEM
596 SimObjectParam<AlphaITB *> itb;
597 SimObjectParam<AlphaDTB *> dtb;
598 Param<int> cpu_id;
599 Param<Tick> profile;

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

616 INIT_PARAM(max_insts_any_thread,
617 "terminate when any thread reaches this inst count"),
618 INIT_PARAM(max_insts_all_threads,
619 "terminate when all threads have reached this inst count"),
620 INIT_PARAM(max_loads_any_thread,
621 "terminate when any thread reaches this load count"),
622 INIT_PARAM(max_loads_all_threads,
623 "terminate when all threads have reached this load count"),
593 SimObjectParam<MemObject *> mem;
594 SimObjectParam<System *> system;
595
596#if FULL_SYSTEM
597 SimObjectParam<AlphaITB *> itb;
598 SimObjectParam<AlphaDTB *> dtb;
599 Param<int> cpu_id;
600 Param<Tick> profile;

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

617 INIT_PARAM(max_insts_any_thread,
618 "terminate when any thread reaches this inst count"),
619 INIT_PARAM(max_insts_all_threads,
620 "terminate when all threads have reached this inst count"),
621 INIT_PARAM(max_loads_any_thread,
622 "terminate when any thread reaches this load count"),
623 INIT_PARAM(max_loads_all_threads,
624 "terminate when all threads have reached this load count"),
625 INIT_PARAM(progress_interval, "Progress interval"),
624 INIT_PARAM(mem, "memory"),
625 INIT_PARAM(system, "system object"),
626
627#if FULL_SYSTEM
628 INIT_PARAM(itb, "Instruction TLB"),
629 INIT_PARAM(dtb, "Data TLB"),
630 INIT_PARAM(cpu_id, "processor ID"),
631 INIT_PARAM(profile, ""),

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

647{
648 TimingSimpleCPU::Params *params = new TimingSimpleCPU::Params();
649 params->name = getInstanceName();
650 params->numberOfThreads = 1;
651 params->max_insts_any_thread = max_insts_any_thread;
652 params->max_insts_all_threads = max_insts_all_threads;
653 params->max_loads_any_thread = max_loads_any_thread;
654 params->max_loads_all_threads = max_loads_all_threads;
626 INIT_PARAM(mem, "memory"),
627 INIT_PARAM(system, "system object"),
628
629#if FULL_SYSTEM
630 INIT_PARAM(itb, "Instruction TLB"),
631 INIT_PARAM(dtb, "Data TLB"),
632 INIT_PARAM(cpu_id, "processor ID"),
633 INIT_PARAM(profile, ""),

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

649{
650 TimingSimpleCPU::Params *params = new TimingSimpleCPU::Params();
651 params->name = getInstanceName();
652 params->numberOfThreads = 1;
653 params->max_insts_any_thread = max_insts_any_thread;
654 params->max_insts_all_threads = max_insts_all_threads;
655 params->max_loads_any_thread = max_loads_any_thread;
656 params->max_loads_all_threads = max_loads_all_threads;
657 params->progress_interval = progress_interval;
655 params->deferRegistration = defer_registration;
656 params->clock = clock;
657 params->functionTrace = function_trace;
658 params->functionTraceStart = function_trace_start;
659 params->mem = mem;
660 params->system = system;
661
662#if FULL_SYSTEM

--- 14 unchanged lines hidden ---
658 params->deferRegistration = defer_registration;
659 params->clock = clock;
660 params->functionTrace = function_trace;
661 params->functionTraceStart = function_trace_start;
662 params->mem = mem;
663 params->system = system;
664
665#if FULL_SYSTEM

--- 14 unchanged lines hidden ---