atomic.cc (3649:0569961a87fc) atomic.cc (3661:efc80a01aeb6)
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;

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

515 Param<bool> do_quiesce;
516 Param<bool> do_checkpoint_insts;
517 Param<bool> do_statistics_insts;
518#else
519 SimObjectParam<Process *> workload;
520#endif // FULL_SYSTEM
521
522 Param<int> clock;
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;

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

515 Param<bool> do_quiesce;
516 Param<bool> do_checkpoint_insts;
517 Param<bool> do_statistics_insts;
518#else
519 SimObjectParam<Process *> workload;
520#endif // FULL_SYSTEM
521
522 Param<int> clock;
523 Param<int> phase;
523
524 Param<bool> defer_registration;
525 Param<int> width;
526 Param<bool> function_trace;
527 Param<Tick> function_trace_start;
528 Param<bool> simulate_stalls;
529
530END_DECLARE_SIM_OBJECT_PARAMS(AtomicSimpleCPU)

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

550 INIT_PARAM(do_quiesce, ""),
551 INIT_PARAM(do_checkpoint_insts, ""),
552 INIT_PARAM(do_statistics_insts, ""),
553#else
554 INIT_PARAM(workload, "processes to run"),
555#endif // FULL_SYSTEM
556
557 INIT_PARAM(clock, "clock speed"),
524
525 Param<bool> defer_registration;
526 Param<int> width;
527 Param<bool> function_trace;
528 Param<Tick> function_trace_start;
529 Param<bool> simulate_stalls;
530
531END_DECLARE_SIM_OBJECT_PARAMS(AtomicSimpleCPU)

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

551 INIT_PARAM(do_quiesce, ""),
552 INIT_PARAM(do_checkpoint_insts, ""),
553 INIT_PARAM(do_statistics_insts, ""),
554#else
555 INIT_PARAM(workload, "processes to run"),
556#endif // FULL_SYSTEM
557
558 INIT_PARAM(clock, "clock speed"),
559 INIT_PARAM_DFLT(phase, "clock phase", 0),
558 INIT_PARAM(defer_registration, "defer system registration (for sampling)"),
559 INIT_PARAM(width, "cpu width"),
560 INIT_PARAM(function_trace, "Enable function trace"),
561 INIT_PARAM(function_trace_start, "Cycle to start function trace"),
562 INIT_PARAM(simulate_stalls, "Simulate cache stall cycles")
563
564END_INIT_SIM_OBJECT_PARAMS(AtomicSimpleCPU)
565

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

570 params->name = getInstanceName();
571 params->numberOfThreads = 1;
572 params->max_insts_any_thread = max_insts_any_thread;
573 params->max_insts_all_threads = max_insts_all_threads;
574 params->max_loads_any_thread = max_loads_any_thread;
575 params->max_loads_all_threads = max_loads_all_threads;
576 params->progress_interval = progress_interval;
577 params->deferRegistration = defer_registration;
560 INIT_PARAM(defer_registration, "defer system registration (for sampling)"),
561 INIT_PARAM(width, "cpu width"),
562 INIT_PARAM(function_trace, "Enable function trace"),
563 INIT_PARAM(function_trace_start, "Cycle to start function trace"),
564 INIT_PARAM(simulate_stalls, "Simulate cache stall cycles")
565
566END_INIT_SIM_OBJECT_PARAMS(AtomicSimpleCPU)
567

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

572 params->name = getInstanceName();
573 params->numberOfThreads = 1;
574 params->max_insts_any_thread = max_insts_any_thread;
575 params->max_insts_all_threads = max_insts_all_threads;
576 params->max_loads_any_thread = max_loads_any_thread;
577 params->max_loads_all_threads = max_loads_all_threads;
578 params->progress_interval = progress_interval;
579 params->deferRegistration = defer_registration;
580 params->phase = phase;
578 params->clock = clock;
579 params->functionTrace = function_trace;
580 params->functionTraceStart = function_trace_start;
581 params->width = width;
582 params->simulate_stalls = simulate_stalls;
583 params->system = system;
584 params->cpu_id = cpu_id;
585

--- 17 unchanged lines hidden ---
581 params->clock = clock;
582 params->functionTrace = function_trace;
583 params->functionTraceStart = function_trace_start;
584 params->width = width;
585 params->simulate_stalls = simulate_stalls;
586 params->system = system;
587 params->cpu_id = cpu_id;
588

--- 17 unchanged lines hidden ---