1. 20 Oct, 2017 1 commit
  2. 22 Sep, 2017 1 commit
  3. 14 Jul, 2017 1 commit
  4. 19 Apr, 2017 3 commits
  5. 04 Oct, 2016 1 commit
    • mark's avatar
      ENH: cleanup Ostream to ease usage (issue #254) · 18ab8abd
      mark authored
      - Include newline in beginBlock/endBlock, since this corresponds to
        the standard usage. The beginBlock now takes keyType instead of word.
      
      - Provide Ostream::writeEntry method to reduce clutter and simplify
        writing of entries.
      
        Before
        ======
            os << indent << "name" << nl
               << indent << token::BEGIN_BLOCK << incrIndent << nl;
            os.writeKeyword("key1") << val1 << token::END_STATEMENT << nl;
            os.writeKeyword("key2") << val2 << token::END_STATEMENT << nl;
            os << decrIndent << indent << token::END_BLOCK << nl;
      
        After
        =====
            os.beginBlock("name");
            os.writeEntry("key1", val1);
            os.writeEntry("key2", val2);
            os.endBlock();
      
      - For completeness, support inline use of various Ostream methods.
        For example,
      
            os << beginBlock;
            os.writeEntry("key1", val1);
            os.writeEntry("key2", val2);
            os << endBlock;
      
      - For those who wish to write in long form, can also use endEntry inline:
      
            os.beginBlock("name");
            os.writeKeyword("key1") << val2 << endEntry;
            os.writeKeyword("key2") << val2 << endEntry;
            os.endBlock();
      
      The endEntry encapsulates a semi-colon, newline combination.
      18ab8abd
  6. 28 Jun, 2016 1 commit
  7. 23 Jun, 2016 3 commits
  8. 22 Jun, 2016 1 commit
  9. 21 Jun, 2016 2 commits
    • mark's avatar
      ENH: add maxMem information to profiling · cc40eabd
      mark authored
      - value corresponds to the max memory when the corresponding profiling
        is started.
        Only used when the top-level profiling has memInfo active.
      
      - memInfo is disabled by default, since the new maxMem functionality
        otherwise adds overhead with every call.
      
      tutorial:
          /lagrangian/reactingParcelFoam/verticalChannelLTS
      cc40eabd
    • mark's avatar
      STYLE: rename Profiling -> profiling · a36e56f2
      mark authored
      a36e56f2
  10. 17 Jun, 2016 1 commit
    • mark's avatar
      ENH: support '-profiling' command-line option · 1d1d0b3c
      mark authored
      - this option overrides any controlDict settings as a convenient means
        to selecting profiling without messing with the controlDict.
      
      - provide Profiling::writeNow() to emit profiling for utilities that
        don't have any natural time increment mechanism to trigger it.
      1d1d0b3c
  11. 15 Jun, 2016 1 commit
    • mark's avatar
      ENH: add some system information when outputting profiling · 6b9d6c17
      mark authored
      - basic cpuInfo (model identification, MHz, etc)
      - process memInfo
      
      - profiling is activated via the case system/controlDict by
        adding a "profiling" sub-dictionary.
      
        Simply add the following (everything enabled):
      
            profiling
            {}
      
        Which corresponds to the longer form:
      
            profiling
            {
                active      true;  // default: true
                cpuInfo     true;  // default: true
                memInfo     true;  // default: true
                sysInfo     true;  // default: true
            }
      
        This can be used to selectively disable any extra information
        (eg, you don't want anyone else to know what hardware was used).
      6b9d6c17
  12. 09 Jun, 2016 1 commit
  13. 08 Jun, 2016 1 commit