-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working on issue #67 (performance profiling infrastructure): Set-up p…
…rofiling for atomic petrinets.
- Loading branch information
1 parent
f127a99
commit 7aad8ac
Showing
7 changed files
with
46 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
run.bash | ||
#Transitions|Number of transitions | ||
#Influenced|Number of transitions influenced including the one fired | ||
#L-Places|Number of local places per transition | ||
#L-Tokens|Number of tokens in local places | ||
Scheme|Scheme system used for measurements | ||
#Transitions|Number of transitions (scale load) | ||
#Influenced|Number of transitions influenced including the one fired (invalidation load) | ||
#L-Places|Number of local places per transition (base load) | ||
#L-Tokens|Number of tokens in each local place (base load) | ||
#Executions|Number of execution steps (times the net is fired) | ||
> | ||
Time|Execution time in ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
../../examples/atomic-petrinets | ||
@sources: | ||
profiling | ||
static-profiling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
; This program and the accompanying materials are made available under the | ||
; terms of the MIT license (X11 license) which accompanies this distribution. | ||
|
||
; Author: C. Bürger | ||
|
||
#!r6rs | ||
|
||
(import (rnrs) (atomic-petrinets profiling)) | ||
|
||
(define arguments (command-line)) | ||
(define $transitions (string->number (list-ref arguments 1))) | ||
(define $influenced (string->number (list-ref arguments 2))) | ||
(define $local-places (string->number (list-ref arguments 3))) | ||
(define $local-tokens (string->number (list-ref arguments 4))) | ||
(define $executions (string->number (list-ref arguments 5))) | ||
|
||
(profile-net | ||
(make-profiling-net $transitions $influenced $local-places $local-tokens) | ||
$executions) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters