Skip to content
Snippets Groups Projects
  1. Jun 12, 2024
  2. Mar 27, 2024
  3. Mar 25, 2024
  4. Sep 16, 2022
  5. May 30, 2022
  6. May 13, 2022
  7. May 08, 2022
  8. Apr 25, 2022
  9. Apr 14, 2022
  10. Apr 06, 2022
    • Florian Fischer's avatar
      io: improve recursive_directory_walk · d07a81c4
      Florian Fischer authored
      * Add optional throttle Semaphore pointer to limit the number
        of spawned fn as well as directory walk fibers
      * Use const references to the passed functions instead of values
      * fsearch: Use max_running as fn and recursion throttle
      d07a81c4
  11. Apr 04, 2022
  12. Feb 25, 2022
  13. Feb 22, 2022
    • Florian Schmaus's avatar
      [apps]: Modernize 'fib' app · ca5bcf5c
      Florian Schmaus authored
      ca5bcf5c
    • Florian Fischer's avatar
      implement a sharded file buffer · 2531492e
      Florian Fischer authored
      Each worker thread has it own stringstream per ShardedFileBuffer.
      All streams are joined and flushed to the file when a ShardedFileBuffer
      is destructed.
      
      Flushing a ShardedFileBuffer is not thread-safe and must not be called
      concurrently to any modifications to the ShardedFileBuffer.
      
      Use a ShardedFileBuffer to accumulate and print all paths during fsearch.
      2531492e
  14. Feb 21, 2022
    • Florian Fischer's avatar
      fsearch: write only found files to stdout and use implicit file offset · b0438822
      Florian Fischer authored
      In the emper-fs-eval I would like to validate the output of the fsearch
      variants against a list of known files. Not writing any log messages to
      stdout make that easier.
      
      Use -1 as the offset of the write to stdout.
      Passing offset -1 means to use the file's implicit offset just like write(2).
      When using a tty as stdout offset 0 is fine but when redirecting stdout
      to a file 0 will cause that previously found paths will always be
      overwritten.
      b0438822
  15. Feb 07, 2022
  16. Jan 21, 2022
  17. Dec 14, 2021
  18. Dec 06, 2021
  19. Nov 29, 2021
  20. Nov 23, 2021
  21. Oct 28, 2021
    • Florian Fischer's avatar
      [EchoSever] implement random computations variants · 964278bc
      Florian Fischer authored
      Now three variants of computation are available:
      
      * fixed (echoserver <port> <computation>:
         This will always consume computation us before sending the echo
         back to the client.
      * random range (echoserver <port> <computation> <computation-max>:
         This will consume a random computation uniformly selected
         from the interval [computation, computation-max] us.
      * random min-max (echoserver <port> <computation> <computation-max> <max-probability>
         This will either consume computation or computation-max us.
         The max computation is randomly chosen with the specified probability.
      
      All random values are generated with a thread_local mt19937 generator
      and uniformly distributed with uniform_{int,real}_distribution.
      964278bc
    • Florian Fischer's avatar
      42fda2bb
    • Florian Fischer's avatar
      d7d109a1
  22. Oct 12, 2021
  23. Sep 24, 2021
    • Florian Fischer's avatar
      [EchoServer] set SO_REUSEPORT on the listen socket · b79f5470
      Florian Fischer authored
      This is needed by emper-io-eval because apparently our startup/termination
      times are shorter than the OS allows the rebinding of the same tcp tuple.
      
      Also make all global variables static because they don't have to be exported.
      b79f5470
  24. Sep 14, 2021
  25. Sep 13, 2021
  26. Aug 19, 2021
  27. Aug 09, 2021
  28. Aug 08, 2021
  29. Jul 28, 2021
  30. Jul 26, 2021
    • Florian Fischer's avatar
      [meson] allow building EMPER on systems whithout <filesystem> · 6753d982
      Florian Fischer authored
      Check if std::filesystem::recursive_directory_iterator and std::filesystem::path
      are available before using those in EMPER code.
      
      We do not export the symbols using the not supported filesystem features
      in our public headers using preprocessor ifdef.
      
      But the code in the cpp files using it not removed using the preprocessor.
      To allow linkage we use a constexpr which throws a logic_error on runtime
      rendering the rest of the code dead und thus prevents its generation by
      the compiler.
      This methods allows the compiler to see the code in its analysis passes
      but does not fail during linking.
      
      Allow meson.build files in emper/ subdirectories add configuration options
      by consuming the conf_data object after all subdirectories were visited.
      
      Introduce a quasi naming standard for cpp feature flags in meson code:
      	cpp_has_<namespace>_<feature>
      
      Examples:
      	cpp_has_fs_path
      6753d982
    • Florian Fischer's avatar
  31. Jul 23, 2021
  32. Jul 21, 2021
  33. May 20, 2021
Loading