astra-sim-alibabacloud/astra-sim/system/BasicEventHandlerData.hh (30 lines of code) (raw):

/****************************************************************************** This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *******************************************************************************/ #ifndef __BASICEVENTHANDLERDATA_HH__ #define __BASICEVENTHANDLERDATA_HH__ #include <assert.h> #include <math.h> #include <algorithm> #include <chrono> #include <cstdint> #include <ctime> #include <fstream> #include <list> #include <map> #include <sstream> #include <tuple> #include <vector> #include "CallData.hh" #include "Common.hh" namespace AstraSim { class Sys; class BasicEventHandlerData : public CallData { public: Sys *node; EventType event; int channel_id; int flow_id; BasicEventHandlerData(Sys* node, EventType event); BasicEventHandlerData(int channel_id, int flow_id); BasicEventHandlerData(){}; }; } // namespace AstraSim #endif