Make OperationCPUTimer initializer more resilient

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, OperationCPUTimer throws an exception if it cannot get the time for the current thread on Linux (see here).

      Instead, it should check if clock_gettime(CLOCK_THREAD_CPUTIME_ID, &t) is available on initialization (here) and terminate if subsequent calls to _getThreadTime() fail. 

              Assignee:
              Amirsaman Memaripour
              Reporter:
              Amirsaman Memaripour
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: