Class | Benelux::Timeline |
In: |
lib/benelux/timeline.rb
|
Parent: | Array |
|------+----+--+----+----| | 0.02
Usage examples::
Benelux.timeline['9dbd521de4dfd6257135649d78a9c0aa2dd58cfe'].each do |mark| p [mark.track, mark.name, mark.tags[:usecase], mark.tags[:call_id]] end Benelux.timeline.ranges(:do_request).each do |range| puts "Client%s: %s: %s: %f" % [range.track, range.thread_id, range.name, range.duration] end regions = Benelux.timeline(track_id).regions(:execute)
caller | [R] | |
default_tags | [RW] | |
messages | [RW] | |
ranges | [RW] | |
stats | [RW] |
msg is the message to store. This can be any type of object that includes Selectable::Object (so that tags can be added to the message to retreive it later). If msg does not include Selectable::Object it will be converted to a TaggableString object.
obj.marks(:execute_a, :execute_z, :do_request_a) =>
[:execute_a, :do_request_a, :do_request_a, :execute_z]