Skip to content

Commit 3bc1120

Browse files
committed
Added comments.
1 parent 8541b3b commit 3bc1120

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

gnuplot/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,16 @@ To restore the default score sampling settings use:
6969
BenchmarkHelper.sampleSize = BenchmarkHelper.sampleSizeDefault;
7070
```
7171
----
72-
The graph shown above may be re-generated using the custom `sampleSize`
73-
function by copying and amending the file `gnuplot/sample_size.dart`
74-
and using the command:
72+
The graph shown above may be re-generated using a user defined
73+
custom `sampleSize` function by
74+
amending the file `gnuplot/sample_size.dart`. For more instruction see
75+
the comments in the function `main()`.
76+
77+
To print the graph use the command:
7578
```Console
7679
dart sample_size.dart
7780
```
78-
The command above lauches a process and runs a [`gnuplot`][gnuplot] script.
81+
Note: The command above lauches a process and runs a [`gnuplot`][gnuplot] script.
7982
For this reason, the program [`gnuplot`][gnuplot] must be installed (with
8083
the `qt` terminal enabled).
8184

gnuplot/plot_sample_size.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void main(List<String> args) async {
119119
// Use the number of clock ticks to calculate the number of entries in the
120120
// score sample (.outer) and the number of runs each score point is averaged
121121
// over (inner).
122-
return (inner: 10, outer: 10); // This is a stub!
122+
return (inner: 10, outer: 10); // <======= This is a stub!
123123
}
124124

125125
// Uncomment the line below to use your custom function:

0 commit comments

Comments
 (0)