- void run(bool debug);
-
- // deliver an IPI to a specific processor
- void send_ipi(reg_t who);
-
- // returns the number of processors in this simulator
- size_t num_cores() { return procs.size(); }
- processor_t* get_core(size_t i) { return procs[i]; }
+ int run();
+ void set_debug(bool value);
+ void set_log(bool value);
+ void set_histogram(bool value);
+ void set_procs_debug(bool value);
+ void set_remote_bitbang(remote_bitbang_t* remote_bitbang) {
+ this->remote_bitbang = remote_bitbang;
+ }
+ const char* get_dts() { if (dts.empty()) reset(); return dts.c_str(); }
+ processor_t* get_core(size_t i) { return procs.at(i); }
+ unsigned nprocs() const { return procs.size(); }