Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#11 Mixed task/agent view

open
None
5
2008-07-04
2008-06-27
No

We typically use agents to show activities run by tasks. For us, it would therefore be useful to have a combined view on the task scheduling and the agent activity the task is running.

The attached jpeg illustrates two ways of making such a combined view:

E.g. 1: The task execution bar is split in two. The top half shows when an agent executes, with a color associated to the agent ID. The bottom half shows when the task is effectively consuming cpu, like in the original task view. One can also use gray scales in the bottom half to show sub-pixel cpu load.

E.g. 2: Agent execution is shown by adding a background colour. This example also illustrates the changing task bar height to suggest differences in cpu load.

TimeDoctor currently doesn't associate agents with individual tasks, which is probably what we'll have to add to the tdi format specification.

Discussion

  • Mixed task/agent view

     
    Attachments
  • Mahesh DC
    Mahesh DC
    2008-07-04

    • assigned_to: nobody --> willemtaildeman
     
  • Mahesh DC
    Mahesh DC
    2008-07-04

    Logged In: YES
    user_id=1577725
    Originator: NO

    Willem,

    I am assigning it to you!
    You can submit the patch here, as an attachment.

    -Mahesh

     
  • Logged In: YES
    user_id=2131516
    Originator: NO

    After some struggling with the SWT.Tree the mixed view is finally done. You'll find the patch in attachment.

    The subPixelLoad is also in this patch (because I've also edited the taskpaintlistener for the mixed view).

    The new file format:
    COM <id> <line_type> <line_id>
    Represents the creation of a combination line.
    One can add multiple lines (described by line_type and line_id) to a combination line (described by id).
    You can also ad a name to a combination line.

    This version works also with older files (so if users don't want to use this mixed view, you can use an older file - or collapse the combination section). When opening a new file in an old TimeDoctor you get a warning, but all the other lines are parsed. So no problems with backward compatibility.

    Please leave some comments!
    File Added: feature_2004144_v1.diff

     
  • Logged In: YES
    user_id=2131516
    Originator: NO

    I've found a small bug, new patch in attachment
    File Added: feature_2004144_v2.diff

     
  • Patch v3 (fixed the subPixelLoad bugs)

     
  • Logged In: YES
    user_id=2131516
    Originator: NO

    Added the bugfix for the subPixelLoad.
    Uploaded the new version
    File Added: feature_2004144_v3.diff

     
  • Logged In: YES
    user_id=2131516
    Originator: NO

    Added a patch for the new workspace (because the sub pixel load feature is checked in)
    File Added: feature_2004144_v4.diff

     
  • Patch v4 (for the new workspace)