Skip to content

Commit

Permalink
additional improvements for the "Banking" C benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
AneesHl committed Feb 19, 2024
1 parent 1093943 commit 28808d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions C/Savina/src/concurrency/Banking.lf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ preamble {=
=}


reactor Teller(numAccounts:int=1000, numBankings:int=50000) {
reactor Teller(numAccounts:size_t=1000, numBankings:size_t=50000) {

preamble {=
long seed = 123456;
Expand Down Expand Up @@ -191,9 +191,9 @@ reactor Account(bank_index:size_t=0, numAccounts:size_t=1000, numTransactions:si
}

/* [[[cog
cog.outl(f'main reactor (numIterations:int={numIterations}, numTransactions:int={numTransactions}, numAccounts:int={numAccounts})')
cog.outl(f'main reactor (numIterations:size_t={numIterations}, numTransactions:size_t={numTransactions}, numAccounts:size_t={numAccounts})')
]]] */
main reactor (numIterations:int=12, numTransactions:int=50000, numAccounts:int=1000)
main reactor (numIterations:size_t=12, numTransactions:size_t=50000, numAccounts:size_t=1000)
/// [[[end]]]
{
teller = new Teller(numAccounts=numAccounts, numBankings=numTransactions);
Expand Down

0 comments on commit 28808d0

Please sign in to comment.