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; |
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), |
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; |
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 --- |