- 22 Dec, 2021 1 commit
-
-
Noric Couderc authored
Some tests failed because the way we handle counters wasn't correct.
-
- 06 Dec, 2021 1 commit
-
-
Noric Couderc authored
Christoph implemented some optimizations to avoid stopping counters when it's not needed I updated the client code to use the new API.
-
- 16 Nov, 2021 1 commit
-
-
Noric Couderc authored
There are a lot of strings which are actually the same string, except the JVM stores the same data in two different objects. I used intern() to try to make sure it's the same objects that is used if we've already seen that string before.
-
- 15 Nov, 2021 2 commits
-
-
Noric Couderc authored
If we used a "Tracer" collection, the name would end up in the printed output. We implement a function that removes that, so that it looks like we used one of the normal collections.
-
Noric Couderc authored
We don't need to clean the eventSets if we used the same set at the previous Spec
-
- 13 Nov, 2021 2 commits
-
-
Noric Couderc authored
We can actually handle more than 2 counters! So we make sure we do
-
Noric Couderc authored
We just de-activate the counters that are not avaiable.
-
- 04 Nov, 2021 3 commits
-
-
Noric Couderc authored
Useful for testing
-
Noric Couderc authored
I removed the parameters numRuns and counters from the constructor of PapiRunner, this parameter is passed in the specs instead and as a parameter of the specific functions that need it. This is so I can pass a PapiRunner without the number of runs to an Experiment and run it. Otherwise you might have to check the papiRunner has the same number of runs than the Experiment...
-
Noric Couderc authored
PapiBenchmarkAnalyzer.RunSpec doesn't take the number of iterations as a parameter anymore, as that's a parameter of the runner itself (it was always the same value used anyway).
-
- 27 Oct, 2021 1 commit
-
-
Noric Couderc authored
Sometimes we only trace the default counters, and then the tracer might now know we want to trace. So we set the flag.
-
- 26 Oct, 2021 2 commits
-
-
Noric Couderc authored
We used PAPI counters before, and it's true these are the most relevant, but it makes sense to make this more general.
-
Noric Couderc authored
We use the PAPICounter type for specifying list of counters and stuff, instead of the map of strings. This makes the code _MUCH BETTER_.
-
- 19 Sep, 2021 1 commit
-
-
Noric Couderc authored
Previously, we didn't add the operationType to the key at all. Now the map is a full function, but it just reports 0 cycles spent if there weren't any in the benchmark.
-
- 18 Sep, 2021 3 commits
-
-
Noric Couderc authored
-
Noric Couderc authored
We removed the need of a StopWatchRunner by making sure we only run the benchmark once, even for getting the number of cycles per operation type.
-
Noric Couderc authored
The papiRunner class now gathers all the counters in one single run. For that, we need to gather a limited number of counters: PAPI_TOT_CYC + PAPI_TOT_INS + max 2 counters. Because we don't do any aggregation either, I needed to change the functions so they return a list of values for each iteration.
-
- 26 Aug, 2021 1 commit
-
-
Noric Couderc authored
We have a map of cycles per operation type, and we use in a function that will run specifications, aggregate the number of cycles per each method of that type, and return a list of triplets (run#, opType, cycles).
-
- 25 Aug, 2021 4 commits
-
-
Noric Couderc authored
We extracted one for running one iteration of a benchmark and one for running many iterations.
-
Noric Couderc authored
The first thing we were doing with the stream was converting to string anyway.
-
Noric Couderc authored
Not needed, since we re-implemented runSpec directly.
-
Noric Couderc authored
Works similarly to how runSpec runs for a regular PapiRunner. Updated smrt.jar because there are some methods we needed to reset the tracer and set it's counters dynamically.
-
- 23 Aug, 2021 2 commits
-
-
Noric Couderc authored
We run the benchmarks, get some counters, and aggregate them. What's not finished is that we don't get the median over many runs, nor do we gather counters yet.
-
Noric Couderc authored
This PapiTracerRunner shares similarities with PapiRunner, so we make an interface that contains stuff that's common to the two classes.
-