Skip to content
Snippets Groups Projects
  • Florian Fischer's avatar
    442ead84
    [log] improve timestamp scalability and increase LogBuffer size · 442ead84
    Florian Fischer authored
    std::localtime takes a global lock and is therefore not scalable and
    inapplicable for analyzing timing sensible bugs.
    Introduce a new option to add UTC timestamps. This allows on my system
    to double the CPU load while using mmapped logging.
    
    Also increase the LogBuffer size from 1MB to 1GB because I had some
    crashes where a renewed buffer was still used.
    442ead84
    History
    [log] improve timestamp scalability and increase LogBuffer size
    Florian Fischer authored
    std::localtime takes a global lock and is therefore not scalable and
    inapplicable for analyzing timing sensible bugs.
    Introduce a new option to add UTC timestamps. This allows on my system
    to double the CPU load while using mmapped logging.
    
    Also increase the LogBuffer size from 1MB to 1GB because I had some
    crashes where a renewed buffer was still used.