In TLC, what does the num parameter do given the -simulate flag?

22 views
Skip to first unread message

Andrew Helwer

unread,
Jan 28, 2023, 9:50:58 AM1/28/23
to tlaplus
tlc -simulate num=1 SpecName

I thought it restricted the length of the state trace but that doesn't seem to be true.

Andrew

Andrew Helwer

unread,
Jan 28, 2023, 9:54:52 AM1/28/23
to tlaplus
From tlc -h output:

run in simulation mode; optional parameters may be specified
        comma delimited: 'num=X' where X is the maximum number of
        total traces to generate and/or 'file=Y' where Y is the
        absolute-pathed prefix for trace file modules to be written
        by the simulation workers; for example Y='/a/b/c/tr' would
        produce, e.g, '/a/b/c/tr_1_15'

Andrew Helwer

unread,
Jan 28, 2023, 10:07:35 AM1/28/23
to tlaplus
Note that it appears the num=X parameter is multiplied by the number of workers
Reply all
Reply to author
Forward
0 new messages