summaryrefslogtreecommitdiffstats
path: root/src/sim/trex_sim.h
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-01-07 04:38:38 -0500
committerimarom <imarom@cisco.com>2016-01-07 04:52:14 -0500
commit2dff2ccf6fd6e4dae2556c1cf392473989a826b9 (patch)
treef294070fc49d0c6cf1b7733dd42c6bbe281e71be /src/sim/trex_sim.h
parent72ca9e76d4c6a5fe48e8cd7e1e49b9e54e40fca9 (diff)
yet another stateless simulation phase
Diffstat (limited to 'src/sim/trex_sim.h')
-rw-r--r--src/sim/trex_sim.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sim/trex_sim.h b/src/sim/trex_sim.h
index a0f44cdb..f11f01c4 100644
--- a/src/sim/trex_sim.h
+++ b/src/sim/trex_sim.h
@@ -129,7 +129,11 @@ private:
void execute_json(const std::string &json_filename);
void run_dp(const std::string &out_filename);
- uint64_t run_dp_core(int core_index, const std::string &out_filename);
+
+ void run_dp_core(int core_index,
+ const std::string &out_filename,
+ uint64_t &simulated_pkts,
+ uint64_t &written_pkts);
void flush_dp_to_cp_messages_core(int core_index);