1. 06 Dec, 2021 1 commit
    • Noric Couderc's avatar
      Optimizations to papi-java · 99b95be3
      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.
      99b95be3
  2. 20 Nov, 2021 1 commit
    • Noric Couderc's avatar
      Fix: Caching of featureSet · a9c1dccc
      Noric Couderc authored
      I would create several eventSets before, that were not needed. Now I pass
      the FeatureSet, and we use the EvenSetBuilder to make an eventSet based
      on the FeatureSet. The EventSetBuilder caches eventSets, so it should
      not build unnecessary eventSets. It should create only one for a full
      run (they don't change often).
      a9c1dccc
  3. 16 Nov, 2021 1 commit
  4. 04 Nov, 2021 3 commits
    • Noric Couderc's avatar
      Fixed initialization of Tracer from sm-java · 6a9b1c4b
      Noric Couderc authored
      addCounter should do things the smart way, so we use that.
      6a9b1c4b
    • Noric Couderc's avatar
      Refactoring: Experiment takes a PapiRunner as param · 8ed8f1b8
      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...
      8ed8f1b8
    • Noric Couderc's avatar
      Refactoring: Removed parameter for RunSpec · 875f1a56
      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).
      875f1a56
  5. 26 Oct, 2021 1 commit
  6. 19 Sep, 2021 2 commits
  7. 18 Sep, 2021 2 commits
    • Noric Couderc's avatar
      Gather cycles per class of operation in one pass · 876c234f
      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.
      876c234f
    • Noric Couderc's avatar
      Made PapiRunner gather all counters in one pass · 1ca5ea1e
      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.
      1ca5ea1e
  8. 15 Sep, 2021 1 commit
    • Noric Couderc's avatar
      Disabled test · 35877094
      Noric Couderc authored
      The test fails depending of the Java version. Works with Java 11, but
      not java 8. I disabled it because I haven't found how to make IntelliJ
      use Java 8, it keeps using java 11.
      35877094
  9. 26 Aug, 2021 1 commit
    • Noric Couderc's avatar
      Implemented getting cycles per optype · 71f37b42
      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).
      71f37b42
  10. 25 Aug, 2021 2 commits
  11. 23 Aug, 2021 5 commits
    • Noric Couderc's avatar
      Refactoring: Moved data classes to help with making PapiTracerRunner · 179e2c1f
      Noric Couderc authored
      This PapiTracerRunner shares similarities with PapiRunner, so we make
      an interface that contains stuff that's common to the two classes.
      179e2c1f
    • Noric Couderc's avatar
      Analyzed result of test with graph · 8fc4e075
      Noric Couderc authored
      This was a bit of a test to see if it feels nice, and it does!
      
      That way, we're a bit more certain that the output does make sense.
      8fc4e075
    • Noric Couderc's avatar
      Fixed assertions for test · 31bd01ec
      Noric Couderc authored
      I corrected the assertions to match what was given. That's not
      necessarily how you should do, but the data looked reasonable to me.
      31bd01ec
    • Noric Couderc's avatar
      Fixed test · 68e69797
      Noric Couderc authored
      We updated smrt.jar so that we can change the variable JPAPI and
      JPAPI_COUNTERS dynamically (after class initialization).
      
      We also initialize PAPI if it's not initialized yet, before running
      the tests.
      
      The tests still fail because the conditions are incorrect, but it runs!
      68e69797
    • Noric Couderc's avatar
      Added test for tracing collections · 26b65a1e
      Noric Couderc authored
      Currently fails, because what's printed is more than an empty string.
      26b65a1e