Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10.20
    • Component/s: WsWorkunits
    • Labels:
      None

      Description

      There is some ws_workunitService code that displays a valid time, whether @totalThorTime is present or not.

      This is because it's calling a custom routine, which is aggregating graph TimeElapsed:

      unsigned WsWuInfo::getTotalThorTime()
      {
          const WuScopeFilter filter("stype[graph],nested[0],stat[TimeElapsed]");
          StatsAggregation summary;
          aggregateStatistic(summary, cw, filter, StTimeElapsed);
          return nanoToMilli(summary.getSum());
      }
      

      That's okay, but it should use the format @totalThorTime if present 1st, before walking Statistics.
      And this functionality should be inside workunit.cpp

        Attachments

          Activity

            People

            • Assignee:
              wangkx Kevin Wang
              Reporter:
              wangkx Kevin Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: