3 p This file tests the cfg=model-check/checkpoint option for DFS explorer
5 $ $VALGRIND_NO_TRACE_CHILDREN ${bindir:=.}/../../../bin/simgrid-mc --cfg=model-check/checkpoint:5 -- ${bindir:=.}/s4u-synchro-mutex --cfg=actors:2 --log=s4u_test.thres:critical
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'model-check/checkpoint' to '5'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'actors' to '2'
8 > [0.000000] [mc_dfs/INFO] Start a DFS exploration. Reduction is: dpor.
9 > [0.000000] [mc_dfs/INFO] DFS exploration ended. 66 unique states visited; 11 backtracks (22 transition replays, 99 states visited overall)
11 p The stats without checkpoints is: 130 unique states visited; 27 backtracks (308 transition replays, 151 states visited overall)
12 p But it runs much faster (0.6 sec vs. 1.6 sec), damn slow checkpointing code.