Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Normalize runtime threads in gantt chart #3700

Open
@effigies

Description

#3290 restored gantt chart functionality. The PR was generally delayed by a concern that the thread representation is misleading.

The proposed solution is:

if status_dict['runtime_threads'] != "N/A":
 status_dict['runtime_threads'] //= 100

I believe here:

status_dict = {
"name": node.name,
"id": node._id,
"start": node.result.runtime.startTime,
"finish": node.result.runtime.endTime,
"duration": node.result.runtime.duration,
"runtime_threads": getattr(node.result.runtime, "cpu_percent", "N/A"),
"runtime_memory_gb": getattr(node.result.runtime, "mem_peak_gb", "N/A"),
"estimated_memory_gb": node.mem_gb,
"num_threads": node.n_procs,
}
if status_dict["start"] is None or status_dict["finish"] is None:
status_dict["error"] = True

cc @shnizzedy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /