Did I find the right examples for you? yes no

All Samples(9)  |  Call(0)  |  Derive(9)  |  Import(0)
Keep track of time durations and events.
This class is not thread safe: multiple threads concurrently timing the same
method will conflict.

The following two invocations are semantically equivalent::

    # using the timed_method wrapper
    self.timed_method ('workload_manager', 
                       ['schedule()', workload.id, overlay.id], 
                       self._scheduler.schedule, [workload, overlay])(more...)

src/t/r/troy-0.0.3/troy/workload/compute_unit.py   troy(Download)
class ComputeUnit (tu.Properties, tu.Timed) :
    The `ComputeUnit` class represents the smallest element of work to be
    performed on behalf of an application, and is part of a workload managed by
    Troy.  More specifically, `Task`s are decomposed into `ComputeUnit`s

src/t/r/troy-0.0.3/troy/overlay/pilot.py   troy(Download)
class Pilot (tu.Properties, tu.Timed) :
    _instance_cache = tu.InstanceCache ()

src/t/r/troy-0.0.3/troy/workload/workload.py   troy(Download)
class Workload (tu.Properties, tu.Timed) :
    The `Workload` class represents a workload which is managed by Troy.  It
    contains a set of :class:`Tasks`, and a set of :class:`Relation`s between
    those tasks.

src/t/r/troy-0.0.3/troy/workload/task.py   troy(Download)
class Task (tu.Properties, tu.Timed) :
    The `Task` class represents a element of work to be performed on behalf of
    an application, and is part of a workload managed by Troy.

src/t/r/troy-0.0.3/troy/overlay/overlay.py   troy(Download)
class Overlay (tu.Properties, tu.Timed) :
    The `Overlay` class represents a resource overlay which is managed by Troy,
    i.e. in application and user space.  It contains a set of :class:`Pilots`, 
    which represent the resource capabilities of the overlay.

src/t/r/troy-0.0.3/troy/session.py   troy(Download)
class Session (saga.Session, tu.Timed) : 
    # --------------------------------------------------------------------------
    def __init__ (self, user_cfg=None, default=True) :

src/t/r/troy-0.0.3/troy/workload/workload_manager.py   troy(Download)
class WorkloadManager (tu.Timed) :
    The `WorkloadManager` class, as its name suggests, manages :class:`Workload`
    instances, i.e. translates, schedules and enacts those instances.

src/t/r/troy-0.0.3/troy/planner/planner.py   troy(Download)
class Planner (tu.Timed) :
    The `Planner` class represents the upper layer, i.e. the application facing
    layer, of Troy, and thus hosts the API that ultimately will be used by end
    users.  That API allows to submit application workloads, and to monitor

src/t/r/troy-0.0.3/troy/overlay/overlay_manager.py   troy(Download)
class OverlayManager (tu.Timed) :
    Generates and instantiates an overlay. An overlay consists of pilot
    descriptions and instances.