Deleted Added
sdiff udiff text old ( 3649:0569961a87fc ) new ( 3661:efc80a01aeb6 )
full compact
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
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"),
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;
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 ---