1. 13 May, 2019 1 commit
    • Frank Winklmeier's avatar
      Counter-based timer class · 9be9bb98
      Frank Winklmeier authored and Marco Clemencic's avatar Marco Clemencic committed
      Implement a `Gaudi::Timer` class that accumulates its statistics in a
      `Counter`:
      - `GenericTimer` is a generic timer that can be templated with a
        `std::chrono`-compatible clock and a precision. A timing measurement
        is done via the RAII helper class `ScopeTimer`.
      - The Timer can register itself with an owner using the dedicated
        constructor.
      - `RdtscClock` is a (non-walltime) clock based on `rdtsc`. Depending on
        the available CPU this can be significantly faster than the default
        clock. Run the `test_GaudiTimer` unit tests for a measurement of the
        overhead of the various clocks.
      - `Gaudi/Timers.h` provides a default `Gaudi::Timer` based on wall-clock and
        `Gaudi::FastTimer` based on the `RdtscClock`.
      9be9bb98
  2. 01 Feb, 2019 1 commit
  3. 29 Jan, 2019 1 commit
  4. 17 Apr, 2018 2 commits
    • Sebastien Ponce's avatar
      Implementation of a new set of counters for Gaudi, replacing StatEntity · 1a247999
      Sebastien Ponce authored
      The new counters have a few new features compared to existing StatEntity :
        - they are templated by the counted type
        - they come with different flavors counting only what you need (e.g. simple count, no stat)
        - more flavour can easily be created at will thanks to the AccumulatorSet object
        - they come with 2 implementations : thread safe or not
        - the thread safe ones use atomics and should be as efficient as possible
        - a Buffer object allows to easily buffer updates to a counter made in a tight loop, without paying the atomic price each time
      
      A Small unit test is available in the test suite and example code is provided in the comments of Counters.h where they are implemented.
      Existing code has been adapted, in particulat the ChronoSvc.
      1a247999
    • Andrea Valassi's avatar
      New interface for using Gaudi counters (LHCBPS-1758) · 94045bef
      Andrea Valassi authored and Sebastien Ponce's avatar Sebastien Ponce committed
      94045bef
  5. 16 Apr, 2018 1 commit
  6. 27 Nov, 2017 1 commit
  7. 26 Sep, 2017 1 commit
  8. 29 Jul, 2016 1 commit
  9. 19 Jul, 2013 1 commit
  10. 18 Jul, 2013 1 commit
  11. 28 Jan, 2010 1 commit
  12. 22 Oct, 2009 1 commit