Skip to content

iscar-ucm/xdevs.cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xDEVS simulation engine (C++ API)

Welcome to the xDEVS simulation engine. This is the C++ repository, which shares the xDEVS interfaces but through the C++ (>=C++11) language.

Running the DEVStone benchmark

Just as a quick reference manual, here are the instructions to run the DEVStone benchmark in a few seconds:

  • clone the git repository:
    git clone [email protected]:iscar-ucm/xdevs.cpp.git
        
  • change directory (to the DEVStone example):
    cd src/xdevs/examples/DevStone 
        
  • make
    make
        
  • and finally, run a DEVStone benchmark
    ./devstone -w 100 -d 100 -b HO
    STATS
    Benchmark: HO (2)
    PreparationTime: 0
    Period: 1
    MaxEvents: 1
    Width: 100
    Depth: 100
    IntDelayTime: 0
    ExtDelatTime: 0
    Num delta_int: 490051, [490051]
    Num delta_ext: 490051, [490051]
    Num event_ext: 490051, [490051]
    Model creation time (s): 0.0136859
    Engine setup time (s): 0.00449369
    Simulation time (s): 0.721096
    TOTAL time (s): 0.739276
    MEMORY (KiB): 11752
        

About

Version of the xDEVS simulator for C++ projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages