| package IPC::Run3::ProfArrayBuffer; |
| IPC::Run3::ProfArrayBuffer - Store profile events in RAM in an array |
| =item C<< IPC::Run3::ProfArrayBuffer->new() >> |
| my $class = ref $_[0] ? ref shift : shift; |
| my $self = bless { @_ }, $class; |
| =item C<< $buffer->app_call(@events) >> |
| =item C<< $buffer->app_exit(@events) >> |
| =item C<< $buffer->run_exit(@events) >> |
| The three above methods push the given events onto the stack of recorded |
| for my $subname ( qw(app_call app_exit run_exit) ) { |
| push @{shift->{Events}}, [ $subname => @_ ]; |
| Returns a list of all the events. Each event is an ARRAY reference |
| [ "app_call", 1.1, ... ]; |
| Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved |
| You may use this module under the terms of the BSD, Artistic, or GPL licenses, |
| Barrie Slaymaker E<lt>barries@slaysys.comE<gt> |