This is a parallelized discrete event simulator for network test. The implemented functions are very limited till now. But the core functions are all ready.
<TSP-NS>
├── core-parallel ## This is the parallel-core
├── network ## Very simple network implementation using parallel-core
├── lib ## dependences
└── example ## How to use it is shown here - git
- cmake
- pthread library
Firstly, you need to clone the respority and init the submodules used in this project.
git clone https://github.com/mmhzheng/TSP-NS.gitThen you need to setup the dependences.
sudo ./setup.shNow you can take a look at example/simple_topo.cpp and run it! You can check log file to see the running process.
cd bin
./auto_build.sh
./test_exampleThis project needs to thanks g3logger, ThtreadPool and skiplist.